mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-05 20:51:15 -07:00
Add note on how to restart automatically
If Tautulli ever crashes due to a failure of some sort the policies mentioned here will automatically restart it, with the caveat that they will _always_ restart it, even if it is going to crash right away again!
This commit is contained in:
parent
5749ab7c92
commit
85b9a47a0d
1 changed files with 7 additions and 0 deletions
|
@ -41,6 +41,11 @@
|
|||
# - WantedBy= specifies which target (i.e. runlevel) to start Tautulli for.
|
||||
# multi-user.target equates to runlevel 3 (multi-user text mode)
|
||||
# graphical.target equates to runlevel 5 (multi-user X11 graphical mode)
|
||||
#
|
||||
# - 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
|
||||
|
@ -53,6 +58,8 @@ GuessMainPID=no
|
|||
Type=forking
|
||||
User=tautulli
|
||||
Group=tautulli
|
||||
# Restart=on-abnormal
|
||||
# RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue