Commit b3569dd
committed
contrib/systemd/labgrid-exporter: make service restart always and indefinitely
The exporter sets reexec=True for known errors only. If other errors
occur (e.g. network issues), the exporter exits with 0.
So set Restart=always to make sure even these exit conditions lead to a
restarted exporter. Drop the now redundant RestartForceExitStatus. Add
StartLimitIntervalSec=0 to make it restart indefinitely.
Signed-off-by: Bastian Krause <bst@pengutronix.de>1 parent 6962ac5 commit b3569dd
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
13 | 12 | | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments