SHA256
1
0
forked from pool/tvheadend
tvheadend/tvheadend-fix-service-dependency.patch

20 lines
740 B
Diff
Raw Normal View History

Index: tvheadend-4.0.9/rpm/tvheadend.service
===================================================================
--- tvheadend-4.0.9.orig/rpm/tvheadend.service 2017-03-02 20:45:32.462457191 +0100
+++ tvheadend-4.0.9/rpm/tvheadend.service 2017-03-02 20:45:57.838456921 +0100
@@ -1,11 +1,11 @@
[Unit]
Description=Tvheadend - a TV streaming server and DVR
-After=syslog.target network.target auditd.service
+After=network.target auditd.service
[Service]
EnvironmentFile=/etc/sysconfig/tvheadend
-ExecStart=/usr/bin/tvheadend -f -p /var/run/tvheadend.pid $OPTIONS
-PIDFile=/var/run/tvheadend.pid
+ExecStart=/usr/bin/tvheadend -f -p /run/tvheadend.pid $OPTIONS
+PIDFile=/run/tvheadend.pid
Type=forking
Restart=on-failure
RestartSec=54s