summaryrefslogtreecommitdiff
path: root/src/systemctl.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-12-03 21:34:34 +0100
committerMichal Schmidt <mschmidt@redhat.com>2011-12-03 23:10:12 +0100
commit2096e009a790073a934f5cd07d17024d3b199d0b (patch)
tree8a8ed615a78ceb79b4c22cff9495203a1146bb42 /src/systemctl.c
parent3a11183858af30bc9b4e9dac430dd7541deec19b (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 'src/systemctl.c')
0 files changed, 0 insertions, 0 deletions