From 94e949999b680946c0f7f6828bb98da607a4ca1a Mon Sep 17 00:00:00 2001 From: Windsinger Date: Tue, 18 Apr 2023 15:03:35 +0200 Subject: [PATCH] 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. --- extras/factorio.service.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/factorio.service.example b/extras/factorio.service.example index faf3c8e..05769be 100644 --- a/extras/factorio.service.example +++ b/extras/factorio.service.example @@ -2,6 +2,7 @@ Description=Factorio Server Wants=network-online.target After=network.target network-online.target +StartLimitIntervalSec=600 [Service] User=factorio @@ -18,7 +19,6 @@ TimeoutStopSec=20 ExecStop=/opt/factorio-init/factorio stop RestartSec=20 Restart=on-failure -StartLimitIntervalSec=600 StartLimitBurst=5 [Install]