Bug#758809: deb-systemd-helper: Please support reload action

Guido Günther agx at sigxcpu.org
Mon Aug 25 19:20:02 BST 2014


Hi Michael,
On Sun, Aug 24, 2014 at 11:38:04PM +0200, Michael Stapelberg wrote:
> Hi Guido,
> 
> Thank you for your mail.
> 
> Guido Günther <agx at sigxcpu.org> writes:
> > I'd be nice if systemctl reload would be supported as in
> > deb-systemd-helper like:
> >
> >   if [ -d /run/systemd/system ] && systemctl is-enabled <service> >/dev/null; then
> >        systemctl reload virtlockd.service
> >   fi
> This doesn’t make much sense I’m afraid: deb-systemd-helper is a utility
> for machines that _do not run_ systemd. Hence, adding a command that is
> only useful when a machine _is running_ systemd does not make sense
> >        :).

Hmm...I do wonder why it invokes systemctl then.

> 
> I think you may be confusing deb-systemd-helper with a general purpose
> helper code collection, but the goal is actually to get rid of
> deb-systemd-helper entirely and just use systemctl directly in the
> future (once we’ve gotten rid of sysvinit entirely).

It would simply be nice to have a tool to handle service reloads
etc. in a way described above.  
Cheers, 
  -- Guido




More information about the Pkg-systemd-maintainers mailing list