Search found 8 matches
- December 17th, 2012, 5:04 pm
- Forum: Debian/Ubuntu Package
- Topic: Properly shutting down sabnzbd
- Replies: 7
- Views: 10973
Re: Properly shutting down sabnzbd
Killing the process always works to shut it down, but that doesn't mean it's safe. For example, I don't know for sure if the downloads in the queue are properly paused or if files are guaranteed not to get corrupted. Parsing the file could work, although it's not a very clean way of doing this.
- December 17th, 2012, 4:33 pm
- Forum: Debian/Ubuntu Package
- Topic: Properly shutting down sabnzbd
- Replies: 7
- Views: 10973
Re: Properly shutting down sabnzbd
Well, this just checks the PID and kills the process. But is this safe? And what's also somewhat inconvenient is that the sabnzbd PID filename has the port included. This requires the user to change the port in an environment file.
- December 17th, 2012, 4:16 pm
- Forum: Debian/Ubuntu Package
- Topic: Properly shutting down sabnzbd
- Replies: 7
- Views: 10973
Properly shutting down sabnzbd
I am the package maintainer of sabnzbd for Arch Linux and I want to write a decent systemd service file. The problem is however in closing sabnzbd. The only supported way seems to be through use of the web interface. This is very inconvenient, since this requires storing the API key and some other d...
- September 3rd, 2010, 9:00 am
- Forum: General Help
- Topic: How to add an NZB from the command line
- Replies: 8
- Views: 5498
Re: How to add an NZB from the command line
Ok. I am trying to add this feature to a package, because I am the maintainer, so setting up a folder is not really going to work. I will try adding through the API now, although I would have preferred just calling the python file.
- September 2nd, 2010, 3:53 pm
- Forum: General Help
- Topic: How to add an NZB from the command line
- Replies: 8
- Views: 5498
Re: How to add an NZB from the command line
I can't manage to get sabnzbd to load an nzb. I tried the following things: python /opt/sabnzbd/SABnzbd.py test.nzb python /opt/sabnzbd/SABnzbd.py test.nzb -f /opt/sabnzbd/sabnzbd.ini sudo su - sabnzbd -c "python /opt/sabnzbd/SABnzbd.py -f /opt/sabnzbd/sabnzbd.ini -s localhost:8080 test.nzb&quo...
- September 1st, 2010, 9:14 am
- Forum: General Help
- Topic: How to add an NZB from the command line
- Replies: 8
- Views: 5498
Re: How to add an NZB from the command line
How do you do it in Windows? It must be somewhat the same, as python and the http calls are platform independent.
- September 1st, 2010, 6:58 am
- Forum: General Help
- Topic: How to add an NZB from the command line
- Replies: 8
- Views: 5498
- September 1st, 2010, 6:52 am
- Forum: General Help
- Topic: How to add an NZB from the command line
- Replies: 8
- Views: 5498
How to add an NZB from the command line
I am writing a .desktop file for sabnzbd, so I can just click on my NZBs to load them into SABnzbd. What I don't know is what URL I should call to add a file. Or should I invoke a python script?