diff --git a/init-scripts/init.systemd b/init-scripts/init.systemd index 040f1121..0afce887 100644 --- a/init-scripts/init.systemd +++ b/init-scripts/init.systemd @@ -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