summaryrefslogtreecommitdiff
path: root/kodi-rpi/kodi.initd
diff options
context:
space:
mode:
Diffstat (limited to 'kodi-rpi/kodi.initd')
-rw-r--r--kodi-rpi/kodi.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/kodi-rpi/kodi.initd b/kodi-rpi/kodi.initd
new file mode 100644
index 0000000..4fedd31
--- /dev/null
+++ b/kodi-rpi/kodi.initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+
+supervisor=supervise-daemon
+
+name="Kodi"
+description="A software media player and entertainment hub for digital media"
+
+command=/usr/lib/kodi/kodi-gbm
+command_args="--standalone"
+command_background=true
+pidfile="/var/run/kodi.pid"
+command_user="kodi:kodi"