Introduction
Procedure
- Run:
apt-get -y install sabnzbdplus
- Edit /etc/default/sabnzbdplus and set:
USER=sabnzbdplus
- Create that user by running:
groupadd --system sabnzbdplus useradd --system --gid sabnzbdplus \ --home-dir /var/lib/sabnzbdplus \ --create-home sabnzbdplus
- Start sabnzbdplus as follows:
su - sabnzbdplus sabnzbdplus
- Just leave the text browser asking its first question.
- From the host where your (normal) browser runs run (possibly as root if required):
ssh -gfNL 8080:localhost:8080 <host-where-sabnzbdplus-is-running>
- Visit http://localhost:8080/ and make the following settings:
- language: <preferred-language>
- server: skip
- General->SABnzbd Host: 0.0.0.0
- General->Launch Browser on Startup: no
- Servers->Add Server->… (use SSL if possible)
- Notifications->Email Notification On Job Completion: always
- Notifications->Disk Full Notifications: yes
- Notifications->SMTP Server: …
- Notifications->Email Recipient: …
- Notifications->Email Sender: …
- Scheduling->Add Schedule->Resume: …
- Scheduling->Add Schedule->Pause: …
- Special->Host Whitelist: <unqualified-name-of-the-host-itself>,<fully-qualified-name-of-the-host-itself>
- In ~sabnzbplus, replace the Downloads directory with a symlink pointing to suitably named directory on a larger filesystem.
- Finalise sabnzbdplus by stopping sabnzbdplus and then running:
systemctl enable sabnzbdplus reboot
(I could not get the service to start until I had done a reboot.)
- Proxying connections to the monitoring site:
- Note the port number specified in that sabnzbdplus listens on (probably 8080).
- SeeĀ Configuring web services (revision 2).