On 07/30/2014 12:34 PM, Reindl Harald wrote:
*how* should that both help in calling "apachectl -t"*before* stop the service and in case of a error-repsonse keep it running?
ExecStartPre= takes care of the startup check as in the usecase when the unit is not running and you initially configured the Apache daemon
Adding ExecStop= "before" actual ExecStop= line to stop the daemon takes care of preventing you from restarting you if you made configuration changes while the daemon/services was running should not continue with the stop process if the ExecStop command fails.
Anyway beside that point daemon,services that actual come with configuration file syntax checkers like apache does ( maybe in what 20 or so range ) , are few and far between let alone those configuration syntax checker that actually exist out there fail properly if they do...
JBG
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
