summaryrefslogtreecommitdiff
path: root/hwdb/70-touchpad.hwdb
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2016-10-01 14:06:48 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2016-11-22 17:54:27 +0100
commit3d474ef7a687e2052aa303e0f95893b2fc610475 (patch)
tree17f558d966f8cdaaff05e632927c41039e9581d7 /hwdb/70-touchpad.hwdb
parentc35755fb878af58b80ac62a501a75f79c90a3763 (diff)
service: fix main processes exit behavior for type notify services
Before this commit, when the main process of a Type=notify service exits the service would enter a running state without passing through the startup post state. This meant ExecStartPost= from being executed and allowed follow-up units to start too early (before the ready notification). Additionally, when RemainAfterExit=yes is used on a Type=notify service, the exit status of the main process would be disregarded. After this commit, an unsuccessful exit of the main process of a Type=notify service puts the unit in a failed state. A successful exit is inconsequential in case RemainAfterExit=yes. Otherwise, when no ready notification has been received, the unit is put in a failed state because it has never been active. When all processes in the cgroup of a Type=notify service are gone and no ready notification has been received yet, the unit is also put in a failed state.
Diffstat (limited to 'hwdb/70-touchpad.hwdb')
0 files changed, 0 insertions, 0 deletions