]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
rpm: add the watchdog config to tvheadend.service, too
authorJaroslav Kysela <perex@perex.cz>
Fri, 5 Jan 2018 10:36:10 +0000 (11:36 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 5 Jan 2018 10:36:10 +0000 (11:36 +0100)
rpm/tvheadend.service

index cd2ff3445327f5f6aac51db40f1580471568fd27..1e084452eaeaf877f2abf328f0b642663ce7d05e 100644 (file)
@@ -10,5 +10,12 @@ Type=forking
 Restart=on-failure
 RestartSec=54s
 
+# To enable watchdog functionality, uncomment these, remove Type=forking
+# and compile with --enable-libsystemd_daemon
+#Type=notify
+#WatchdogSec=1m
+#TimeoutStartSec=5m
+#TimeoutStopSec=20
+
 [Install]
 WantedBy=multi-user.target