Skip to content

Commit 94e9499

Browse files
Windsinger1985Bisa
authored andcommitted
Update factorio.service.example
in 2018, StartLimitIntervalSec=600 is migrated from [Service] to [Unit] Fix for just a little systemd warning Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring. You can verify with $ sudo systemd-analyze verify factorio.service /etc/systemd/system/./factorio.service:21: Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring.
1 parent 658509f commit 94e9499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/factorio.service.example

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

67
[Service]
78
User=factorio
@@ -18,7 +19,6 @@ TimeoutStopSec=20
1819
ExecStop=/opt/factorio-init/factorio stop
1920
RestartSec=20
2021
Restart=on-failure
21-
StartLimitIntervalSec=600
2222
StartLimitBurst=5
2323

2424
[Install]

0 commit comments

Comments
 (0)