summarylogtreecommitdiffstats
path: root/sickgear.service
blob: f7770e04c87dbab5c48eaf0d5d3bd6e45b1ba26c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=SickGear Daemon
After=network.target

[Service]
Restart=on-success
User=sickgear
Group=sickgear
Type=forking
ExecStart=/usr/bin/env python2 /opt/%p/app/SickBeard.py -q -d --nolaunch --pidfile=%t/%p/%p.pid --datadir=/opt/%p/data
ExecStartPost=/usr/bin/chmod 644 %t/%p/%p.pid
PIDFile=%t/%p/%p.pid

[Install]
WantedBy=multi-user.target