Skip to content

Instantly share code, notes, and snippets.

@XxUnkn0wnxX
Last active October 15, 2018 03:32
Show Gist options
  • Save XxUnkn0wnxX/d199daecc5c414174cf9 to your computer and use it in GitHub Desktop.
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 &
@XxUnkn0wnxX
Copy link
Author

Open Automator Then:

Steps:
1:

2:

3: be sure the shell is set to /bin/bash

4:

@XxUnkn0wnxX
Copy link
Author

let this run for about 30 seconds or 1 min then press the X button, still haven't found a way to tell it to auto quit once Sickrage starts...

@XxUnkn0wnxX
Copy link
Author

For Boot Startup:

Step 1: Press + Button

Step 2: Then Add on SickRage.app

Step 3:

@XxUnkn0wnxX
Copy link
Author

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

@nolsen311
Copy link

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.

@XxUnkn0wnxX
Copy link
Author

XxUnkn0wnxX commented Sep 14, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment