diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-21 18:08:16 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-21 18:10:12 +0100 |
commit | ae2473c2ca07cf5173a3dab22bc64e7b135ef848 (patch) | |
tree | d431fefb61fec2ee0b7efa639064dce36cd5f035 /contrib | |
parent | fb067905d5e4feb73a41556b798640a8b0f01b77 (diff) |
systemd: Do not restart with a broken config file or such
Only restart in case of a crash or the exit(42) when the OML/RSL
link is going down.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sysmobts.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/sysmobts.service b/contrib/sysmobts.service index cf6aa1aa..9ac51e90 100644 --- a/contrib/sysmobts.service +++ b/contrib/sysmobts.service @@ -9,6 +9,7 @@ ExecStopPost=/bin/sh -c 'echo 0 > /sys/class/leds/activity_led/brightness' ExecStopPost=/bin/sh -c 'cat /lib/firmware/sysmobts-v?.bit > /dev/fpgadl_par0 ; sleep 3s; cat /lib/firmware/sysmobts-v?.out > /dev/dspdl_dm644x_0; sleep 1s' Restart=always RestartSec=2 +RestartPreventExitStatus=1 # The msg queues must be read fast enough CPUSchedulingPolicy=rr |