Skip to content

OSX autostart

f00b4r edited this page Feb 23, 2014 · 5 revisions

On OSX you can run PlexConnect as a daemon, which will automatically start on boot and run as a background process. NB ensure that you have PlexConnect fully working before setting it up to automatically start at boot.

  1. First, stop the running instance of PlexConnect if you have one open (CTRL-C)
  2. Open a terminal window and navigate to the "OSX" folder in your PlexConnect "support" folder (you can do this by typing "cd", hitting the spacebar, dragging the OSX folder to the terminal window and hitting enter)
  3. Enter (without the quotes) "sudo ./install.bash"
  4. Provide your Administrator password and press enter.

A PlexConnect plist will be installed to /Library/LaunchDaemons (for the forthcoming boots) and the PlexConnect daemon will be started.

####Additional Commands

  • sudo ./uninstall.bash will shut down the daemon and uninstall it - (removes the plist).
  • sudo launchctl unload /Library/LaunchDaemons/com.plex.plexconnect.bash.plist will unload or stop the service for this boot.
  • sudo launchctl load /Library/LaunchDaemons/com.plex.plexconnect.bash.plist will restart the process.
  • sudo launchctl list | grep plexconnect indicates whether the process is running (first number - PID) and (if neccessary) an error number.

© 2013 PlexConnect Team

You can’t perform that action at this time.