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:
Landon Abney 2019-02-22 22:39:41 -08:00
parent 5749ab7c92
commit 85b9a47a0d
No known key found for this signature in database
GPG key ID: 3AEE8541ED08A7D9

View file

@ -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