summaryrefslogtreecommitdiff
path: root/community/plex-home-theater/plexhometheater.service
blob: 8efb504f54937a659a8640976cc8c4929d3de5b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description = Starts an instance of Plex Home Theater using xinit
After = systemd-user-sessions.service
Conflicts = getty@tty7.service

[Service]
User = plex
Group = plex
PAMName = login
Type = simple
TTYPath = /dev/tty7
Environment = XBMC_HOME=/opt/plexhometheater/share/XBMC
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /opt/plexhometheater/bin/plexhometheater --standalone -l /run/lirc/lircd -- :0 -nolisten tcp vt7
Restart = on-abort

[Install]
WantedBy = multi-user.target