Skip to content

Commit b249e07

Browse files
authored
Merge pull request #1616 from Bastian-Krause/bst/exporter-restart-always
contrib/systemd/labgrid-exporter: make service restart always and indefinitely
2 parents 6962ac5 + b3569dd commit b249e07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/systemd/labgrid-exporter.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Environment="PYTHONUNBUFFERED=1"
88
# Should contain LG_COORDINATOR configuration
99
EnvironmentFile=-/etc/environment
1010
ExecStart=/path/to/labgrid/venv/bin/labgrid-exporter /etc/labgrid/exporter.yaml
11-
Restart=on-failure
12-
RestartForceExitStatus=100
11+
Restart=always
1312
RestartSec=30
13+
StartLimitIntervalSec=0
1414
DynamicUser=yes
1515
# Adjust to your distribution (most often "dialout" or "tty")
1616
SupplementaryGroups=dialout plugdev

0 commit comments

Comments
 (0)