Difference between revisions of "Sick Beard"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(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
+
# Sickbeard systemd service unit file
    #
+
#
    # Configuration Notes
+
# Configuration Notes
    #
+
#
    #    - Option names (e.g. ExecStart=, Type=) appear to be case-sensitive)
+
#    - Option names (e.g. ExecStart=, Type=) appear to be case-sensitive)
    #
+
#
    #    - Adjust ExecStart= to point to your python and Sickbeard executables.
+
#    - Adjust ExecStart= to point to your python and Sickbeard executables.
    #
+
#
    #    - Adjust User= and Group= to the user/group you want Sickbeard to run as.
+
#    - 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.
+
#    - WantedBy= specifies which target (i.e. runlevel) to start Sickbeard for.
    #        multi-user.target equates to runlevel 3 (multi-user text mode)
+
#        multi-user.target equates to runlevel 3 (multi-user text mode)
    #        graphical.target  equates to runlevel 5 (multi-user X11 graphical mode)
+
#        graphical.target  equates to runlevel 5 (multi-user X11 graphical mode)
  
    [Unit]
+
[Unit]
    Description=Internet PVR for your TV Shows
+
Description=Internet PVR for your TV Shows
  
    [Service]
+
[Service]
    ExecStart=/usr/bin/python /home/sabnzbd/sickbeard/SickBeard.py
+
ExecStart=/usr/bin/python /home/sabnzbd/sickbeard/SickBeard.py
    Type=simple
+
Type=simple
    User=sabnzbd
+
User=sabnzbd
    Group=sabnzbd
+
Group=sabnzbd
  
    [Install]
+
[Install]
    WantedBy=multi-user.target
+
WantedBy=multi-user.target
 
</pre>
 
</pre>

Revision as of 16: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