blob: 39b070ae5e7994882aa8fae4c910290d5662a810 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[Unit]
Description=PlexPy Service
[Service]
User=plexpy
Group=plexpy
GuessMainPID=no
Type=forking
PermissionsStartOnly=true
ExecStartPre=-/usr/bin/mkdir -p /var/lib/plexpy
ExecStartPre=/usr/bin/chown -R plexpy:plexpy /var/lib/plexpy/
ExecStart=/usr/bin/python2 /opt/plexpy/PlexPy.py --quiet --daemon --nolaunch --config /var/lib/plexpy/config.ini --datadir /var/lib/plexpy --nolaunch
[Install]
WantedBy=default.target
|