diff options
Diffstat (limited to 'plexmediaplayer@.service')
-rw-r--r-- | plexmediaplayer@.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/plexmediaplayer@.service b/plexmediaplayer@.service new file mode 100644 index 000000000000..600fea23a09a --- /dev/null +++ b/plexmediaplayer@.service @@ -0,0 +1,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 |