Added restart limit to prevent bootloop

Added a restart limit to the service definition to prevent an infinite bootloop
This commit is contained in:
Jaap van Ekris 2023-01-15 22:09:27 +01:00 committed by GitHub
parent f1e7d086df
commit 675c85cb59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
[Unit]
Description=Open Rowing Monitor
After=multi-user.target
StartLimitIntervalSec=60
StartLimitBurst=5
[Service]
Type=simple