What's the proper way to start/stop/restart the PlexConnect daemon (OS X)?

I've got the PlexConnect daemon up and running. It auto-starts PlexConnect when I reboot the computer. Currently, I'm using the launchctl load/unload commands to manually stop or start PlexConnect when I need to make changes to or update the PlexConnect files:

 

Start PlexConnect: sudo launchctl load /Library/LaunchDaemons/com.plex.plexconnect.bash.plist
Stop PlexConnect: sudo launchctl unload /Library/LaunchDaemons/com.plex.plexconnect.bash.plist
 
Is this the correct way to to start/stop the PlexConnect daemon? Or is there another way I should be doing this?
 
 
 

 

Well, that is exactly how I deal with it...

There are also scripts in the support/OSX folder that can be ran.

There are also scripts in the support/OSX folder that can be ran.


I'm not really sure how to run those scripts.

I'm not really sure how to run those scripts.

cd //support/OSX

sudo restart.bash

...it's not that you would save a lot of time. :-D

cd //support/OSX
sudo restart.bash
 
...it's not that you would save a lot of time. :-D


Ha, thanks. I thought with scripts there was a way you could double-click them to launch them.

Yeah, I guess you could. But then it wouldn't run with sudo rights... unless you pop up a window and ask for permission.

We might add something like this in the future, but honestly, it doesn't help to much and also not all our users (very different setups...)- so I concentrate more on subtitles and stuff.

You could have a look at a couple of scripts I created, one of them is an applescript application, so double-click (or single click if you drag it into the Dock) will run it.

More info here: https://forums.plex.tv/topic/92190-helper-scripts-for-osx-daemon/#entry535836

Thanks, I’ll try them out.

You could have a look at a couple of scripts I created, one of them is an applescript application, so double-click (or single click if you drag it into the Dock) will run it.

More info here: https://forums.plex.tv/topic/92190-helper-scripts-for-osx-daemon/#entry535836

Another option for you is OpenConnect in my signature. It has all the functions you requested built-in.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.