Having reviewed the various documents to create a linuxe service I'm experiencing two problems, the first being the shutdown script, I initiall used the following:
/usr/bin/wget -q --delete-after "http://HOSTADDRESS:PORT/sabnzbd/api?mode=shutdown"
This did not work, so I've changed it to:
/usr/bin/wget -q --delete-after "http://HOSTADDRESS:PORT/sabnzbd/shutdown?session="
This works but if I ever change my API then the script will fail, is this a know problem or am I doing something wrong.
Also I've install par2, and at the command promt its works, its installed in /usr/bin/par2 but SABnzbd 0.4.9 fails to find it, I've created a symbolic link in the /bin directory and all appears to be working. Yet again am I missing something?
Thanks for any help.
Unable to shutdown service, requires API key - CentOS Service
Re: Unable to shutdown service, requires API key - CentOS Service
The key will not change unless you wipe the INI file or click the "Generate New Key" link in Config->General.a18041967 wrote: This works but if I ever change my API then the script will fail, is this a know problem or am I doing something wrong.
The idea is that the key is unique and known to you but not to outsiders.