[systemd-devel] ExecStartPost= behavior on failure
mschmidt at redhat.com
Mon Dec 5 07:39:37 PST 2011
On 11/15/2011 01:40 PM, Honza Horak wrote:
> I'm thinking of what is the desired behavior if the command
> ExecStartPost=somecommand fails.
> If I understand it correctly, all other ExecStartPost= commands
> execution is stopped, but the main process continues to work (and the
> service is still active). From my POV this should happen when
> ExecStartPost= starts with '-'. But when '-' is not used, the service as
> well as the main process should be ended by systemd.
I agree and I have fixed this in git.
Thanks for pointing it out.
More information about the systemd-devel