On Tue, 18.01.11 18:00, Alexander E. Patrakov (patra...@gmail.com) wrote: > > 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.
Hmm, so on restart you want to run the check script before the "stop" operation is run? Hmm, not sure either how to do that best. I guess for that we'd have to add ExecRestartPre= or something like that. Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel