From 7a02c4a15cd6679ba6b8b2f8a9f61ae0e5bff5a5 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 10 Sep 2018 19:11:09 +0000
Subject: runit-scripts: add transmissiond run

---
 abs/core/runit-scripts/PKGBUILD                               |  2 +-
 .../runit-scripts/runitscripts/services/transmissiond/run     | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 abs/core/runit-scripts/runitscripts/services/transmissiond/run

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
-- 
cgit v0.12

