summaryrefslogtreecommitdiff
path: root/pcr/xbmc-standalone-service/xbmc.service
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-10 18:13:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-10 18:13:51 -0300
commit48ff6456b73a722ac6d5bd84e7e678646c9ac409 (patch)
treef51226506cbc82ade351a52b57dee517544d4075 /pcr/xbmc-standalone-service/xbmc.service
parentb8bf5a11ddcb3d3ba3df302c2f5ca635db8fc3f2 (diff)
xbmc-standalone-service: add new package to [pcr]
Diffstat (limited to 'pcr/xbmc-standalone-service/xbmc.service')
-rw-r--r--pcr/xbmc-standalone-service/xbmc.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/pcr/xbmc-standalone-service/xbmc.service b/pcr/xbmc-standalone-service/xbmc.service
new file mode 100644
index 000000000..90119f07d
--- /dev/null
+++ b/pcr/xbmc-standalone-service/xbmc.service
@@ -0,0 +1,16 @@
+[Unit]
+Description = Starts instance of XBMC using xinit
+After = systemd-user-sessions.service network.target
+Conflicts=getty@tty7.service
+
+[Service]
+User = xbmc
+Group = xbmc
+PAMName=login
+Type = simple
+TTYPath=/dev/tty7
+ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc-standalone -- :0 -nolisten tcp vt7
+Restart = on-abort
+
+[Install]
+WantedBy = multi-user.target