From ArchWiki
Revision as of 18:51, 25 September 2012 by Stefanwilkens (talk | contribs) (systemd times out when starting SABnzbd with https enabled)
Jump to: navigation, search

SABnzbd is an Open Source Binary Newsreader written in Python.

It's totally free, incredibly easy to use, and works practically everywhere. SABnzbd makes Usenet as simple and streamlined as possible by automating everything we can. All you have to do is add an .nzb. SABnzbd takes over from there, where it will be automatically downloaded, verified, repaired, extracted and filed away with zero human interaction.


Install sabnzbdAUR from the Arch User Repository.



SABnzbd comes with a system service file, this can be used to control the daemon as follows:

#systemctl {start,stop,enable,disable} sabnzbd.service

start and stop are direct, enable and disable configure automatic starting of the service during boot. For more information, refer to the Systemd article.

enabling https

enabling https is a threefold process:

  • edit /opt/sabnzbd/sabnzbd.ini and set enable_https to 1.
  • edit /usr/lib/systemd/system/sabnzbd.service and set PIDFile to /run/sabnzbd/
  • reload systemd with # systemctl --system daemon-reload

You should now be able to start sabnzbd with SSL support.


systemd times out when starting SABnzbd with https enabled

When faced with the following:

[user@host ~]$ sudo systemctl start sabnzbd.service
Job failed. See system journal and 'systemctl status' for details.

[user@host ~]$ sudo systemctl status sabnzbd.service
sabnzbd.service - SABnzbd binary newsreader
	  Loaded: loaded (/usr/lib/systemd/system/sabnzbd.service; disabled)
	  Active: failed (Result: timeout) since Tue, 25 Sep 2012 20:10:47 +0200; 9s ago
	  CGroup: name=systemd:/system/sabnzbd.service

It's likely that you've forgotten to edit systemd.service to reflect the proper PID file as mentioned in enabling https.

External Links