summarylogtreecommitdiffstats
path: root/plexmediaplayer@.service
diff options
context:
space:
mode:
authorJeff Henson2018-03-19 12:12:12 -0600
committerJeff Henson2018-07-17 19:51:57 -0600
commitc5f824adc58979d6b7a1fb4747040144b779b101 (patch)
tree7f03feb6bb5cafe1ab9c71bb06ce550ea98b6617 /plexmediaplayer@.service
downloadaur-c5f824adc58979d6b7a1fb4747040144b779b101.tar.gz
Initial commit
Diffstat (limited to 'plexmediaplayer@.service')
-rw-r--r--plexmediaplayer@.service16
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