Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

SABNZBD stop function not working #17

@d1ode

Description

@d1ode

Whenever I try to stop the array or click on "stop" in the plugin settings it says:
"/etc/rc.d/rc.sabnzbd stop"
but then it disappears a few seconds later and never stops SABNZBD. It SHOULD read "Stopping SABnzbd..." next but it never does.

I went into the plugin code and commented out the first IF statement and it works now. My SABNZBD runs on port 8081. It seems the pid that is created is sabnzbd-9091.pid and that first IF statement is looking for sabnzbd-8081.pid. Since it doesn't find it, it just goes to the return and does nothing.

I'm not sure where the $PORT variable is being set but in the settings GUI it never seems to remember the correct port in there either. However, SABNZBD correctly runs on the port I want it to... 8081.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions