summaryrefslogtreecommitdiff
path: root/kodi-x11/kodi.init
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-02-03 21:04:11 +0100
committerKarel Kočí <cynerd@email.cz>2020-02-03 21:43:28 +0100
commit263fa528e45cc88908e1138845f993e35eff5c0e (patch)
treeb4e298a04277b5fa548c5090211bbc6e7a9d69e3 /kodi-x11/kodi.init
parent493741c7ce7da1cde1f852a805f8abcd42179ed7 (diff)
downloadalpine-personal-pkgs-263fa528e45cc88908e1138845f993e35eff5c0e.tar.gz
alpine-personal-pkgs-263fa528e45cc88908e1138845f993e35eff5c0e.tar.bz2
alpine-personal-pkgs-263fa528e45cc88908e1138845f993e35eff5c0e.zip
kodi and ffmpeg-rpi: provides to replace upstream packages
Diffstat (limited to 'kodi-x11/kodi.init')
-rw-r--r--kodi-x11/kodi.init17
1 files changed, 17 insertions, 0 deletions
diff --git a/kodi-x11/kodi.init b/kodi-x11/kodi.init
new file mode 100644
index 0000000..89ae701
--- /dev/null
+++ b/kodi-x11/kodi.init
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+
+supervisor=supervise-daemon
+
+name="Kodi"
+description="A software media player and entertainment hub for digital media"
+
+command="/usr/bin/xinit"
+command_args="/usr/bin/kodi-standalone -- :0"
+command_user="kodi:kodi"
+command_background="yes"
+directory="/var/lib/kodi"
+pidfile="/var/run/kodi.pid"
+
+depend() {
+ need net
+}