[systemd-devel] [PATCH] service: don't create extra cgroup for control process when reloading SysV service

Michael Biebl mbiebl at gmail.com
Tue Mar 11 02:05:16 PDT 2014


2014-03-10 15:25 GMT+01:00 Lukas Nykryn <lnykryn at redhat.com>:
> Unfortunately common practice in initscripts is to have reload as an
> alias for restart (https://fedoraproject.org/wiki/Packaging:SysVInitScript).
> In that case the newly started process will be killed immediately after
> the reload process ends and its cgroup is destroyed.

Interesting. The Debian/Ubuntu packaging policies are quite contrary
in that regard.
LSB/SysV init scripts only have the reload option, if the daemon
actually supports it.
There is a force-reload action though, which is mapped to reload, if
the daemon supports reload and to restart, if not.

Given that, I wonder if this should be maintained as a Fedora specific patch?

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list