Page 1 of 1
How do I start/stop Plex?
Posted: 26. Jan 2015, 19:17
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.
Re: How do I start/stop Plex?
Posted: 27. Jan 2015, 11:04
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.
Re: How do I start/stop Plex?
Posted: 27. Jan 2015, 12:43
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