plinth: Disable start rate limiting for service

Allow plinth service to restart an unlimited number of times, with 5
seconds delay.

Test:

- After introducing an error in plinth startup code, the service is
  restarted every 5 seconds without limit.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
James Valleroy authored and Veiko Aasa committed 2021-02-15 11:46:26 +02:00
1 parent bf2cbae959
commit d6e75a1250
1 file changed
+2
+2
View File
@@ -4,10 +4,12 @@
Description=FreedomBox Service (Plinth)
Documentation=man:plinth(1)
After=network.target
StartLimitIntervalSec=0
[Service]
ExecStart=/usr/bin/plinth
Restart=on-failure
RestartSec=5
ExecReload=/bin/kill -HUP $MAINPID
User=plinth
Group=plinth