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:
@@ -41,6 +41,11 @@
|
|||||||
# - WantedBy= specifies which target (i.e. runlevel) to start Tautulli for.
|
# - WantedBy= specifies which target (i.e. runlevel) to start Tautulli for.
|
||||||
# multi-user.target equates to runlevel 3 (multi-user text mode)
|
# multi-user.target equates to runlevel 3 (multi-user text mode)
|
||||||
# graphical.target equates to runlevel 5 (multi-user X11 graphical 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]
|
[Unit]
|
||||||
Description=Tautulli - Stats for Plex Media Server usage
|
Description=Tautulli - Stats for Plex Media Server usage
|
||||||
@@ -53,6 +58,8 @@ GuessMainPID=no
|
|||||||
Type=forking
|
Type=forking
|
||||||
User=tautulli
|
User=tautulli
|
||||||
Group=tautulli
|
Group=tautulli
|
||||||
|
# Restart=on-abnormal
|
||||||
|
# RestartSec=5
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Reference in New Issue
Block a user