[systemd-devel] lighttp unit - graceful reload of configfiles by sending signal to $MAINPID

Alexander E. Patrakov patrakov at gmail.com
Tue Jan 18 05:00:50 PST 2011


18.01.2011 04:48, Lennart Poettering wrote:
>
> What systemd currently does is:
>
>      If the reload fails it shutdowns the service and informs you about
>      the failure.
>
> What systemd probably should do (and what is now in the TODO list) is:
>
>      If the reload fails it should leave the service as is but informs
>      you about the failure.
>
> That should make it easy to plug in check scripts via the ExecReload
> directive and make the need of an additional directive unnecessary.

For the case of reloading, you are right. However, the original idea was 
to run the configuration check also on restart (but not on stop). It is 
not obvious for me how this can work without a new directive.

-- 
Alexander E. Patrakov


More information about the systemd-devel mailing list