summaryrefslogtreecommitdiff
path: root/pcr/xbmc-standalone-service/xbmc.service
blob: 90119f07d1e90d77f85bafd3af1e3ef579655c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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