summarylogtreecommitdiffstats
path: root/plexmediaplayer@.service
blob: 1296487aedc7acdf5341d1c114d26d14bad41e6d (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@tty1.service

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

[Install]
WantedBy = multi-user.target