On Wed, Apr 15, 2015 at 8:39 PM, Ian Campbell <i...@debian.org> wrote:
> On Tue, 2015-04-14 at 10:02 +0200, Michael Stapelberg wrote: > > Ian, it seems like you should be following > > > https://wiki.debian.org/systemd/Packaging#Using_debhelper_with_dh_systemd > to get the package to properly pick up the systemd service files > > I tried this (in preparation for the changes I want to make to Stretch) > and in the postinst dh_systemd_enable seems to be handling > qcontrold.socket and qcontrol.service, but not qcontrold.service. Is > that expected? Perhaps because qcontrold.socket implicitly makes > qcontrold.service work? > Correct. > > dh_systemd_start doesn't seem to have done anything at all. I think that > is by design because dh has called dh_installinit, which has done the > necessary things already by adding the calls to {update,invoke}-rc.d. > Correct. > > > I’ve added the systemd service files manually on my qnaps before I > > contributed them upstream, hence I never ran into this issue. > > What did you do manually? Does it match what I describe above? > Yes, I think so. -- Best regards, Michael