mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-22 06:13:25 -07:00
Added systemd service file
This commit is contained in:
parent
a039641aba
commit
5c818d7f06
1 changed files with 16 additions and 0 deletions
16
init-scripts/plexpy.service
Normal file
16
init-scripts/plexpy.service
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[Unit]
|
||||||
|
Description=PlexPy
|
||||||
|
After=plexmediaserver.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/python /opt/plexpy/PlexPy.py
|
||||||
|
Type=simple
|
||||||
|
User=plex
|
||||||
|
Group=plex
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
StartLimitInterval=60s
|
||||||
|
StartLimitBurst=3
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue