On 11.02.2012 12:26, Michael Biebl wrote: > See the systemctl man page: > > reload-or-try-restart [NAME...] > Reload one or more units if they support it. If not, restart them > instead. Do nothing if the units are not running. Note that for > compatibility with > SysV init scripts force-reload is equivalent to this command. > > SysV/LSB service have the CanReload=yes flag set. > That means systemd tries to run /etc/init.d/foo reload instead. > > We should probably patch the systemd source to not interpret > force-reload and just pass it on to the sysv init script.
Once we have the fix for [1], this should work correctly, since systemd handles force-reload as an alias for reload-or-try-restart. This is much cleaner solution then bypassing force-reload. Michael [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686115 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature