Running as a service on the pi [dietpi]

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
burnmeister
Newbie
Newbie
Posts: 2
Joined: August 11th, 2020, 7:55 am

Running as a service on the pi [dietpi]

Post by burnmeister »

HI all. I'm a noob when it comes to Linux but I've updated to v3 from github on my pi and can access by running. /SABnzbd from /sabnzbd but for the life of me I cant get this to run as a service. Tried everything and can't find anything on the net either.

Latest dietpi. (The version they have in there vault wont install.)

Any help would be appreciated
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Running as a service on the pi

Post by safihre »

Not an expert, but I think you have to create a systemd service.
We have a template for that: https://github.com/sabnzbd/sabnzbd/blob ... 40.service
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
burnmeister
Newbie
Newbie
Posts: 2
Joined: August 11th, 2020, 7:55 am

Re: Running as a service on the pi

Post by burnmeister »

Cheers for getting back to me. I cant get that to work. The service just wont start. do youy know of any guides etc which could help?
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: Running as a service on the pi [dietpi]

Post by sander »

burnmeister wrote: August 11th, 2020, 8:04 am HI all. I'm a noob when it comes to Linux
Running services on Linux is hard.

Easier: put the command in crontab

"crontab -e"

fill out
@reboot /blabla/command/to/run/sabnzbd b

Save, and check with "crontab -l" and reboot
Post Reply