[systemd-devel] Support for pre-restart check
Michael Biebl
mbiebl at gmail.com
Wed Jul 30 17:41:58 PDT 2014
2014-07-30 14:34 GMT+02:00 Reindl Harald <h.reindl at thelounge.net>:
> "ExecStopPre" would be better suited as the pre-restart check because
> it would achieve the goal and also prevent stop a service until it's
> configuration is fixed - that catchs cases where you stop something
> for whatever reason and expect it would be started at the next boot
I don't think that would be a wise thing to do.
If I want to reboot my system, it shouldn't fail to reboot because of
a buggy apache configuration.
Apache should shutdown and simply fail to start on next reboot.
--
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