summaryrefslogtreecommitdiffstats
path: root/abs/extra/xbmc/xbmc.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/xbmc/xbmc.service')
-rw-r--r--abs/extra/xbmc/xbmc.service9
1 files changed, 6 insertions, 3 deletions
diff --git a/abs/extra/xbmc/xbmc.service b/abs/extra/xbmc/xbmc.service
index 431582f..050460f 100644
--- a/abs/extra/xbmc/xbmc.service
+++ b/abs/extra/xbmc/xbmc.service
@@ -1,13 +1,16 @@
[Unit]
Description = Starts instance of XBMC using xinit
-After = remote-fs.target
+After = systemd-user-sessions.service
+Conflicts=getty@tty7.service
[Service]
User = xbmc
Group = xbmc
+PAMName=login
Type = simple
-ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -- :0 -nolisten tcp
-Restart = always
+TTYPath=/dev/tty7
+ExecStart = /usr/bin/xinit /usr/bin/dbus-launch /usr/bin/xbmc-standalone -l /run/lirc/lircd -- :0 -nolisten tcp vt7
+Restart = on-abort
[Install]
WantedBy = multi-user.target