summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-09-10 19:11:09 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-09-10 19:11:09 (GMT)
commit7a02c4a15cd6679ba6b8b2f8a9f61ae0e5bff5a5 (patch)
tree3c6743477c4f7f80bbe5d71eadae0b81e7fe2a96 /abs/core/runit-scripts/runitscripts
parent04697136037cb5341ee6c051f8aaa265c0400c82 (diff)
downloadlinhes_pkgbuild-7a02c4a15cd6679ba6b8b2f8a9f61ae0e5bff5a5.zip
linhes_pkgbuild-7a02c4a15cd6679ba6b8b2f8a9f61ae0e5bff5a5.tar.gz
linhes_pkgbuild-7a02c4a15cd6679ba6b8b2f8a9f61ae0e5bff5a5.tar.bz2
runit-scripts: add transmissiond run
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rw-r--r--abs/core/runit-scripts/runitscripts/services/transmissiond/run11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/transmissiond/run b/abs/core/runit-scripts/runitscripts/services/transmissiond/run
new file mode 100644
index 0000000..20e115e
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/transmissiond/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Starting transmission daemon"
+
+#touch /var/log/transmission.log
+#chown mythtv:mythtv /var/log/transmission.log
+#exec chpst -umythtv transmission-daemon -f --logfile /var/log/transmission.log
+exec chpst -umythtv transmission-daemon -f