aboutsummaryrefslogtreecommitdiffstats
path: root/testing/emby/emby.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-10-06 14:59:40 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-10-06 14:59:46 +0200
commit395aa88ab45ba950e67bf840310ef9e59e552f9c (patch)
tree94b8f74004e66fed7b8e94c2da286adc4ee6208f /testing/emby/emby.initd
parentc91fded86805deca34a587adfc0766729537ad5c (diff)
downloadaports-395aa88ab45ba950e67bf840310ef9e59e552f9c.tar.bz2
aports-395aa88ab45ba950e67bf840310ef9e59e552f9c.tar.xz
testing/emby: new aport
Diffstat (limited to 'testing/emby/emby.initd')
-rw-r--r--testing/emby/emby.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/emby/emby.initd b/testing/emby/emby.initd
new file mode 100644
index 0000000000..e0e2dbb33f
--- /dev/null
+++ b/testing/emby/emby.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+
+name=emby
+command=/usr/bin/mono
+command_args="$emby_server -programdata $datadir -ffmpeg $ffmpeg -ffprobe $ffprobe"
+command_background=true
+pidfile=$emby_pid
+start_stop_daemon_args="--user $emby_user --group $emby_group"
+
+depend() {
+ use logger dns
+ need net
+ after firewall
+}