]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
core: introduce new Restart=on-abnormal setting
authorLennart Poettering <lennart@poettering.net>
Thu, 5 Jun 2014 16:42:52 +0000 (18:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 5 Jun 2014 16:42:52 +0000 (18:42 +0200)
commit6cfe2fde1cc919c2333a5749ea1cbc31fa757077
tree550139112b88670c268706404020482a8897ca71
parent2d2ebaf5152cfc232aec61aad5138adc950f4b5c
core: introduce new Restart=on-abnormal setting

Restart=on-abnormal is similar to Restart=on-failure, but avoids
restarts on unclean exit codes (but still doing restarts on all
obviously unclean exits, such as timeouts, signals, coredumps, watchdog
timeouts).

Also see:

https://fedorahosted.org/fpc/ticket/191
man/systemd.service.xml
src/core/service.c
src/core/service.h