-
-
Save XxUnkn0wnxX/d199daecc5c414174cf9 to your computer and use it in GitHub Desktop.
Brewed Bash Ver: | |
#!/usr/local/bin/bash | |
source ~/.bash_profile | |
/usr/local/bin/python2.7 ~/Apps/SickRage/SickBeard.py -d & | |
Normal Mac Users: | |
#!/bin/bash | |
source ~/.bash_profile | |
/usr/local/bin/python2.7 ~/Apps/SickRage/SickBeard.py -d & | |
be sure brewed version of python is installed!!! | |
then from ~/ which points to /Users/YOUR USER NAME/ | |
find the spot where your Sickrage folder is and point it to there. | |
EG if it is on your desktop it would look like this: /usr/local/bin/python2.7 ~/Desktop/SickRage/SickBeard.py -d & | |
EG: if it isnt any where from your home folder then you need to put in the full path, EG if it is on an external HDD it would look like this: | |
/usr/local/bin/python2.7 /Volumes/MYDRIVE/SickRage/SickBeard.py -d & |
your .bash_profile should look something like this or similar:
export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/lib:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/MacGPG2/bin:/usr/local/opt/coreutils/libexec/gnubin
export PATH=/usr/local/sbin:$PATH
export HOMEBREW_GITHUB_API_TOKEN=
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin
export PATH="$(brew --prefix coreutils)/libexec/gnubin:/usr/local/bin:$PATH"export PATH="/usr/local/sbin:$PATH"
where "HOMEBREW_GITHUB_API_TOKEN=" is your github API token you will need this for brew to work without issues.
if you set up brew correctly your /etc/paths should look like this:
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
very important that /usr/local/bin is on top
I'm extremely curious what your final $PATH ends up being... near as I can tell, your first two attempts to set it are completely wiped out by the 3rd, then the final statement is the one that sticks, but you've got an extra in there that puts /usr/local/sbin at the front.
2018 Update: SickChill LaunchAgent macOS [Runs On Boot] - Use this updated ver of getting things to run. Path is done differently here. not using .bash_profile
i cannot stress enough, use this new method 1st before referring to these old guides.
Open Automator Then:
Steps:
1:
2:
3: be sure the shell is set to /bin/bash
4: