Skip to content

Commit

Permalink
Update factorio.service.example
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Windsinger1985 authored and Bisa committed Apr 29, 2023
1 parent 658509f commit 94e9499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/factorio.service.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Description=Factorio Server
Wants=network-online.target
After=network.target network-online.target
StartLimitIntervalSec=600

[Service]
User=factorio
Expand All @@ -18,7 +19,6 @@ TimeoutStopSec=20
ExecStop=/opt/factorio-init/factorio stop
RestartSec=20
Restart=on-failure
StartLimitIntervalSec=600
StartLimitBurst=5

[Install]
Expand Down

0 comments on commit 94e9499

Please sign in to comment.