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
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to