aboutsummaryrefslogtreecommitdiffstats
path: root/testing/emby/emby.initd
diff options
context:
space:
mode:
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
+}