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.
http://cgit.freedesktop.org/systemd/commit/?id=2096e009a790073a934f5cd07d17024d3b199d0b

Thanks for pointing it out.

Michal
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to