]> git.pld-linux.org Git - packages/mythtv.git/commitdiff
- allow change user
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 22 Jan 2011 21:18:43 +0000 (21:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mythbackend.init -> 1.9
    mythbackend.sysconfig -> 1.2

mythbackend.init
mythbackend.sysconfig

index d19d75b7c69952221651039a1c588036031a5d1c..93c6ab3ba8fbee50fc055071e11a326e2364f4ba 100644 (file)
@@ -13,6 +13,9 @@
 # Source function library.
 . /etc/rc.d/init.d/functions
 
+MYTHTV_USER=mythtv
+OPTIONS=
+
 if [ -f /etc/sysconfig/mythbackend ]; then
        . /etc/sysconfig/mythbackend
 fi
@@ -28,7 +31,7 @@ start() {
 
        msg_starting "Mythbackend"
        daemon /usr/sbin/mythbackend --daemon \
-               --user mythtv \
+               --user $MYTHTV_USER \
                --logfile /var/log/mythtv/mythbackend.log \
                --pidfile $pidfile \
                $OPTIONS
index 2c41c74d7f5bd6ba189073f12e77c7bc06c775f3..94d32e70c6438f4095ea921404dbef6a74fa4967 100644 (file)
@@ -1,4 +1,7 @@
 # Customized settings for mythbackend
 
-#MYTHTV_HOME=/var/lib/mythtv
+# user the daemon runs, needs write access to /var/log/mythtv and it's $HOME
+#MYTHTV_USER=mythtv
+
+# additional options for mythbackend daemon, use mythbackend --help to see options
 #OPTIONS=
This page took 0.070571 seconds and 4 git commands to generate.