mirror of
https://aur.archlinux.org/plex-media-server-plexpass.git
synced 2025-11-20 06:28:29 +00:00
28 lines
754 B
Desktop File
28 lines
754 B
Desktop File
# Be sure to use `systemctl edit plexmediaserver` to modify this service with an override.conf because
|
|
# direct changes will be overwritten by package updates.
|
|
#
|
|
# A user per service w/ shared group setup would have an override like:
|
|
# [Service]
|
|
# Group=sharedgroupname
|
|
# UMask=002
|
|
|
|
[Unit]
|
|
Description=Plex Media Server
|
|
After=network.target network-online.target
|
|
|
|
[Service]
|
|
# In this file, set LANG and LC_ALL to en_US.UTF-8 on non-English systems to avoid mystery crashes.
|
|
EnvironmentFile=/etc/conf.d/plexmediaserver
|
|
ExecStart=/usr/lib/plexmediaserver/Plex\x20Media\x20Server
|
|
SyslogIdentifier=plexmediaserver
|
|
Type=simple
|
|
User=plex
|
|
Group=plex
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
StartLimitInterval=60s
|
|
StartLimitBurst=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|