

The Plex icon (used in the notification pop-ups) is from the Antü Classic, by Fabián Alex, released under LGPL 2.1 License (see for more details).

I have no relation with the original Plex application, and this is intend to be just a free and independent add-on. This project is under the GPLv3 License (see for more details).

Reboot or LogOUT/LogIN to the main script starts running.Insert your root password when prompted.install.sh to run the installer (you must run this as a non-root user, without sudo) Go the plex-shutdown folder: cd plex-shutdown.Clone this git repository: git clone (or simply download as.notify-send (you should already have this installed in your OS but maybe there is a Linux distro without it, so it's just a matter of installing it to get the pop-up notifications).If you are running Plex on a server with command-line interface, check the branch cli-only.Īfter the warning, if plex starts transcoding or if you type shutdown -c in a terminal, the shutdown will be canceled. If the Plex Server isn't active for a long time, it will send a pop-up notification to your main screen warning about a pending shutdown for the next 10 minutes. If it's not transcoding, it will also monitor the upload rates to check if the Plex Server is uploading any content (if you don't want to monitor your upload rates, check the branch transcoding-only). How it worksĪfter you log in, this script will monitor your computer processes to check if your Plex Server is transcoding or not. I suggest you create a standard user account for Plex.

To restart, type the command: sudo service plexmediaserver restart command.A simple script to automatically shutdown your PC if your Plex Server isn't sharing any media within 1 hour. Running Plex Media Server as a Service Stop Plex from running when a user is logged into the machine.To stop, type the command: sudo plexmediaserver stop.To start, type the command: sudo service plexmediaserver start.Commanding service is available on Linux and FreeBSD-like platforms.You can start, restart and stop your Plex Server by using the command.Boot the app by shortcut from theDock or Start button.Now, select Exit to close the Plex Server safely.Locate the Plex icon in the macOS Menu or tray of Windows.Open the macOS or Windows on your system.Locate the Web-Based GUI site to handle the restart task.The restarting operation depends on the system you are using. However, you can not restart the Plex Media Server from the control panel. Player usually quit the app and starts from the starts. Method of Resetting Plex Media Server on Storage: 10 Steps to Restart Your Plex Server:.Method of Restarting Plex Media Server on Synology NAS:.
