diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2011-12-03 21:34:34 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2011-12-03 23:10:12 +0100 |
commit | 2096e009a790073a934f5cd07d17024d3b199d0b (patch) | |
tree | 8a8ed615a78ceb79b4c22cff9495203a1146bb42 /LICENSE | |
parent | 3a11183858af30bc9b4e9dac430dd7541deec19b (diff) |
service: stop the service if ExecStartPost ends with a failure
The handling of failures in ExecStartPost is inconsistent. If the
command times out, the service is stopped. But if the command exits
with a failure, the service keeps running.
It makes more sense to stop the service when ExecStartPost fails.
If this behaviour is not desired, the ExecStartPost command can be
prefixed with "-".
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions