From a646cc36a18e25e4e34dca7aa1d47cba8eb20d3b Mon Sep 17 00:00:00 2001 From: Landon Abney Date: Sun, 24 Feb 2019 13:58:19 -0800 Subject: [PATCH] Enable by default With the protections from an infinite restart loop in place this should be safe to enable by default. --- init-scripts/init.systemd | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/init-scripts/init.systemd b/init-scripts/init.systemd index 8e300d63..577e5e85 100644 --- a/init-scripts/init.systemd +++ b/init-scripts/init.systemd @@ -41,9 +41,6 @@ # - 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. [Unit] Description=Tautulli - Stats for Plex Media Server usage @@ -56,8 +53,8 @@ GuessMainPID=no Type=forking User=tautulli Group=tautulli -# Restart=on-abnormal -# RestartSec=5 +Restart=on-abnormal +RestartSec=5 StartLimitInterval=90 StartLimitBurst=3