summaryrefslogtreecommitdiff
path: root/libre/xbmc-libre/xbmc.service
diff options
context:
space:
mode:
Diffstat (limited to 'libre/xbmc-libre/xbmc.service')
-rw-r--r--libre/xbmc-libre/xbmc.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/xbmc-libre/xbmc.service b/libre/xbmc-libre/xbmc.service
new file mode 100644
index 000000000..431582f1b
--- /dev/null
+++ b/libre/xbmc-libre/xbmc.service
@@ -0,0 +1,13 @@
+[Unit]
+Description = Starts instance of XBMC using xinit
+After = remote-fs.target
+
+[Service]
+User = xbmc
+Group = xbmc
+Type = simple
+ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -- :0 -nolisten tcp
+Restart = always
+
+[Install]
+WantedBy = multi-user.target