summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mythbackend/run7
1 files changed, 6 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
index 4ff0e9f..273f655 100755
--- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run
+++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
@@ -40,5 +40,10 @@ fi
# sleep 10
#
# else
- exec su mythtv -c "/usr/bin/mythbackend -q --syslog local6"
+ if pacman -Q mythtv | grep -q 0.24
+ then
+ exec su mythtv -c "/usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log"
+ else
+ exec su mythtv -c "/usr/bin/mythbackend -q --syslog local6"
+ fi
# fi