[Feature] [OS X] PMS run as system service / without menu bar item

Hello,

 

I created a bug here that details an issue that prevents PMS being run as a service on OS X.

I'm creating a feature request to fix this issue here (I'm not sure whether it's a feature or a bug, but Tobias called it a feature so I'll go with that).

 

Basically I would like either:

- a flag that can be passed to PMS that will cause it to not try to render the menu item that prevents it from running without the windowserver

or

- automatic fallback/continuation in the case that the windowserver cannot be connected to

 

I'd be perfectly happy with either option, I'd just go for whichever is easiest to implement.

 

What this means for PMS on OS X:

It means that PMS can be run as a system service without having to automatically log in a user, and it means that a user can be created specifically for Plex to run under, which is a more traditional configuration approach when configuring servers.

Hopefully this issue won't be as niche a use case as I suspect it is.

Then again, there might be people that don't want the menu icon even for desktop use.

 

Thanks,

 

Early 2021 clean-up: duplicate