mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 01:10:12 -08:00
21 lines
492 B
Markdown
21 lines
492 B
Markdown
# shell
|
|
|
|
Shell commands
|
|
|
|
# plex.sh
|
|
|
|
This script is used to manage the Plex Media Server service on a systemd-based Linux distribution. It provides the following functionalities:
|
|
|
|
- **start**: Starts the Plex Media Server.
|
|
- **stop**: Stops the Plex Media Server.
|
|
- **restart**: Restarts the Plex Media Server.
|
|
- **status**: Displays the current status of the Plex Media Server.
|
|
|
|
## Usage
|
|
|
|
Note that these commands will run as `root`.
|
|
|
|
```shell
|
|
./shell/plex.sh {start|stop|restart|status}
|
|
```
|