Difference between revisions of "Sick Beard"
From Hack Sphere Labs Wiki
(Created page with "=debian jessie= sudo apt-get install python-cheetah mkdir ~/sickbeard cd sickbeard git clone git://github.com/midgetspy/Sick-Beard.git my-sickbeard-install Create a system...") |
|||
Line 8: | Line 8: | ||
File: | File: | ||
<pre> | <pre> | ||
− | + | # Sickbeard systemd service unit file | |
− | + | # | |
− | + | # Configuration Notes | |
− | + | # | |
− | + | # - Option names (e.g. ExecStart=, Type=) appear to be case-sensitive) | |
− | + | # | |
− | + | # - Adjust ExecStart= to point to your python and Sickbeard executables. | |
− | + | # | |
− | + | # - Adjust User= and Group= to the user/group you want Sickbeard to run as. | |
− | + | # | |
− | + | # - WantedBy= specifies which target (i.e. runlevel) to start Sickbeard for. | |
− | + | # multi-user.target equates to runlevel 3 (multi-user text mode) | |
− | + | # graphical.target equates to runlevel 5 (multi-user X11 graphical mode) | |
− | + | [Unit] | |
− | + | Description=Internet PVR for your TV Shows | |
− | + | [Service] | |
− | + | ExecStart=/usr/bin/python /home/sabnzbd/sickbeard/SickBeard.py | |
− | + | Type=simple | |
− | + | User=sabnzbd | |
− | + | Group=sabnzbd | |
− | + | [Install] | |
− | + | WantedBy=multi-user.target | |
</pre> | </pre> |
Revision as of 15:22, 29 August 2015
debian jessie
sudo apt-get install python-cheetah mkdir ~/sickbeard cd sickbeard git clone git://github.com/midgetspy/Sick-Beard.git my-sickbeard-install
Create a systemd service file (adjust below...)
nano /lib/systemd/system/sickbeard.service
File:
# Sickbeard systemd service unit file # # Configuration Notes # # - Option names (e.g. ExecStart=, Type=) appear to be case-sensitive) # # - Adjust ExecStart= to point to your python and Sickbeard executables. # # - Adjust User= and Group= to the user/group you want Sickbeard to run as. # # - WantedBy= specifies which target (i.e. runlevel) to start Sickbeard for. # multi-user.target equates to runlevel 3 (multi-user text mode) # graphical.target equates to runlevel 5 (multi-user X11 graphical mode) [Unit] Description=Internet PVR for your TV Shows [Service] ExecStart=/usr/bin/python /home/sabnzbd/sickbeard/SickBeard.py Type=simple User=sabnzbd Group=sabnzbd [Install] WantedBy=multi-user.target