summaryrefslogtreecommitdiffstats
path: root/abs/extra/plex-media-server/plexmediaserver.service
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-07-15 18:17:51 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-07-15 18:17:51 (GMT)
commit8818abda9545c04ebf135fef63a2baa7ebec9e49 (patch)
treea377baae60578f402b8611911f571eba13dcaeea /abs/extra/plex-media-server/plexmediaserver.service
parent5cacb421450d963a30f69ecf40ff437c35e3da49 (diff)
downloadlinhes_pkgbuild-8818abda9545c04ebf135fef63a2baa7ebec9e49.zip
linhes_pkgbuild-8818abda9545c04ebf135fef63a2baa7ebec9e49.tar.gz
linhes_pkgbuild-8818abda9545c04ebf135fef63a2baa7ebec9e49.tar.bz2
plex-media-server: inital inclusion.
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