How do I start/stop Plex?

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
walterbyrd
Posts: 6
Joined: 12. Jan 2015, 03:57

How do I start/stop Plex?

Post by walterbyrd »

Got Plex running easily enough. It runs fairly well most of the time. But sometimes I need to restart, and I do not know how to do that on Salix.

To start Plex, I enter /usr/bin/start_pms. I cannot find any way to start it, or restart it, other than rebooting my machine.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: How do I start/stop Plex?

Post by gapan »

Does it run fullscreen and has no option to exit/close? If that's the case (which would be bad design) I guess you could always switch to a new virtual terminal with Ctrl-Alt-F2 and kill the process.
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: How do I start/stop Plex?

Post by laprjns »

walterbyrd wrote:To start Plex, I enter /usr/bin/start_pms. I cannot find any way to start it, or restart it, other than rebooting my machine.
So we are taking about plexmediaserver. It runs as a service and is started up during booting by executing the /etc/rc,d/rc.mediaserver script. To start or stop a service without rebooting use the "service" command in a terminal.

Code: Select all

rich[~]$ sudo service -h
Password:
usage : service start|stop|restart|list [service_name]
So to start plexmediaserver do this

Code: Select all

rich[~]$ sudo service start plexmediaserver
Starting the plexmediaserver service
Starting plexmediaserver...
plexmediaserver is already active and running under PID: 
if you think this is wrong, remove the offending PID file
and restart plexmediaserver
To stop the service use "sudo service stop plexmediaserver" or to restart the service use "sudo service restart plexmediaservice"

Code: Select all

rich[~]$ sudo service restart plexmediaserver
Restarting the plexmediaserver service
Stopping plexmediaserver...done
Starting plexmediaserver...
rich[~]$ 6 3000 /var/lib/plexmediaserver/Library/Application Support
8192
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
Post Reply