summarylogtreecommitdiffstats
path: root/plexmediaplayer@.service
blob: 600fea23a09ab96a3f830a972605bfee085540af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description = Plex Media Player
After = systemd-user-sessions.service
Conflicts = getty@tty7.service

[Service]
User = %i
PAMName = login
Type = simple
TTYPath = /dev/tty7
ExecStart = /usr/bin/xinit /usr/bin/plexmediaplayer --tv --fullscreen --scale-factor 1 -- :0 -nolisten tcp vt7
Restart = on-success
StandardInput = tty

[Install]
WantedBy = multi-user.target