summaryrefslogtreecommitdiff
path: root/libre/xbmc-libre-lts/xbmc.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-12 16:32:55 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-12 16:32:55 -0300
commite3acfdf0b0b71c3180b756bdc7ff4a8090bb5e00 (patch)
treeda2f71ca3469aea362df4b9885b01bcc068bfc91 /libre/xbmc-libre-lts/xbmc.service
parent6abc75d5f0c4d5c8302715a7da59cc02d22fbe36 (diff)
parent8d0f4ac4cbf56fc5c5cadb5ba09c35e3674a886b (diff)
downloadabslibre-e3acfdf0b0b71c3180b756bdc7ff4a8090bb5e00.tar.gz
abslibre-e3acfdf0b0b71c3180b756bdc7ff4a8090bb5e00.tar.bz2
abslibre-e3acfdf0b0b71c3180b756bdc7ff4a8090bb5e00.zip
Merge branch 'master' of vparabola:abslibre
Conflicts: pcr/tomb/PKGBUILD
Diffstat (limited to 'libre/xbmc-libre-lts/xbmc.service')
-rw-r--r--libre/xbmc-libre-lts/xbmc.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/libre/xbmc-libre-lts/xbmc.service b/libre/xbmc-libre-lts/xbmc.service
new file mode 100644
index 000000000..d36ddb05a
--- /dev/null
+++ b/libre/xbmc-libre-lts/xbmc.service
@@ -0,0 +1,16 @@
+[Unit]
+Description = Starts instance of XBMC using xinit
+After = systemd-user-sessions.service
+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 -l /run/lirc/lircd -- :0 -nolisten tcp vt7
+Restart = on-abort
+
+[Install]
+WantedBy = multi-user.target