Created
December 1, 2012 08:46
-
-
Save ootput/4181117 to your computer and use it in GitHub Desktop.
Small patch to fix Sickbeard's FreeBSD init script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/init.freebsd b/init.freebsd | |
| index 8d9ba4b..3f65b31 100755 | |
| --- a/init.freebsd | |
| +++ b/init.freebsd | |
| @@ -69,7 +69,7 @@ verify_sickbeard_pid() { | |
| sickbeard_stop() { | |
| echo "Stopping $name" | |
| verify_sickbeard_pid | |
| - ${WGET} -O - -q --user=${SBUSR} --password=${SBPWD} "http://${HOST}:${PORT}/home/shutdown/" >/dev/null | |
| + ${WGET} -O - -q --user=${SBUSR} --password=${SBPWD} "http://${HOST}:${PORT}/home/shutdown/?pid=${pid}" >/dev/null | |
| if [ -n "${pid}" ]; then | |
| wait_for_pids ${pid} | |
| echo "Stopped" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment