mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
@@ -3,9 +3,12 @@
|
|||||||
# Stop and unload the service if it's running
|
# Stop and unload the service if it's running
|
||||||
launchctl remove org.user.Jackett
|
launchctl remove org.user.Jackett
|
||||||
|
|
||||||
|
# Move working directory to Jackett's
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
# Check if we're running from Jackett's directory
|
# Check if we're running from Jackett's directory
|
||||||
if [ ! -f ./JackettConsole.exe ]; then
|
if [ ! -f ./JackettConsole.exe ]; then
|
||||||
echo "Couldn't locate JackettConsole.exe. Are you running from the right directory?"
|
echo "Couldn't locate JackettConsole.exe. Is the script in the right directory?"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
jackettdir="$(pwd)"
|
jackettdir="$(pwd)"
|
||||||
|
Reference in New Issue
Block a user