Skip to content

Commit ec4e7b0

Browse files
contrib/systemd/labgrid-exporter: move StartLimitIntervalSec from Service to Unit section
StartLimitIntervalSec belongs in the "Unit" section, not in the "Service" section. Fixes: b3569dd ("contrib/systemd/labgrid-exporter: make service restart always and indefinitely") Signed-off-by: Bastian Krause <[email protected]>
1 parent 3287243 commit ec4e7b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/systemd/labgrid-exporter.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Description=Labgrid Exporter
33
After=network-online.target
44
Wants=network-online.target
5+
StartLimitIntervalSec=0
56

67
[Service]
78
Environment="PYTHONUNBUFFERED=1"
@@ -10,7 +11,6 @@ EnvironmentFile=-/etc/environment
1011
ExecStart=/path/to/labgrid/venv/bin/labgrid-exporter /etc/labgrid/exporter.yaml
1112
Restart=always
1213
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)