Page 1 of 1

Running as a service on the pi [dietpi]

Posted: August 11th, 2020, 8:04 am
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

Re: Running as a service on the pi

Posted: August 12th, 2020, 3:56 am
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

Re: Running as a service on the pi

Posted: August 14th, 2020, 7:42 am
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?

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

Posted: August 14th, 2020, 8:20 am
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