summaryrefslogtreecommitdiffstats
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
parent04697136037cb5341ee6c051f8aaa265c0400c82 (diff)
downloadlinhes_pkgbuild-7a02c4a15cd6679ba6b8b2f8a9f61ae0e5bff5a5.zip
linhes_pkgbuild-7a02c4a15cd6679ba6b8b2f8a9f61ae0e5bff5a5.tar.gz
linhes_pkgbuild-7a02c4a15cd6679ba6b8b2f8a9f61ae0e5bff5a5.tar.bz2
runit-scripts: add transmissiond run
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rw-r--r--abs/core/runit-scripts/runitscripts/services/transmissiond/run11
2 files changed, 12 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 777d89f..253a6a1 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=8.5
-pkgrel=2
+pkgrel=3
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license=('BSD')
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