summaryrefslogtreecommitdiffstats
path: root/abs/extra/plex-media-server/plexmediaserver.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/plex-media-server/plexmediaserver.service')
-rw-r--r--abs/extra/plex-media-server/plexmediaserver.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/extra/plex-media-server/plexmediaserver.service b/abs/extra/plex-media-server/plexmediaserver.service
new file mode 100644
index 0000000..9206301
--- /dev/null
+++ b/abs/extra/plex-media-server/plexmediaserver.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Plex Media Server
+After=network.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/plexmediaserver
+ExecStart=/opt/plexmediaserver/Plex\x20Media\x20Server
+Type=simple
+User=plex
+Group=plex
+Restart=on-failure
+RestartSec=5
+StartLimitInterval=60s
+StartLimitBurst=3
+StandardOutput=null
+
+[Install]
+WantedBy=multi-user.target