summaryrefslogtreecommitdiff
path: root/kodi-x11/kodi.init
blob: 89ae701e34075aae09175ea0ca3b0f8f67b65ee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}