mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Add burst failure protection
If the process fails 3 times within 90 seconds of a start attempt consider it permanently failed and stop all further attempts to restart it automatically.
This commit is contained in:
parent
85b9a47a0d
commit
b243ac5f5c
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,6 @@
|
|||
#
|
||||
# - Uncomment the two lines Restart= and RestartSec= below to allow Tautulli
|
||||
# to restart if it crashes.
|
||||
# Warning! If your setup is broken and Tautulli crashes on startup, these
|
||||
# lines will cause it to restart forever until you stop it!
|
||||
|
||||
[Unit]
|
||||
Description=Tautulli - Stats for Plex Media Server usage
|
||||
|
@ -60,6 +58,8 @@ User=tautulli
|
|||
Group=tautulli
|
||||
# Restart=on-abnormal
|
||||
# RestartSec=5
|
||||
StartLimitInterval=90
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue