mirror of
https://gh.con.sh/https://github.com/plexinc/pms-docker
synced 2024-09-20 06:45:31 +00:00
b8f67a0b3c
S6 will now send SIGTERM to the root Plex process as a part of the service's finish script. If the processes don't exit after 5 seconds, all processes are sent a SIGKILL
8 lines
139 B
Bash
Executable File
8 lines
139 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "$#" -eq 1 ]; then
|
|
s6-svc "$1" /var/run/s6/services/plex
|
|
else
|
|
echo "No argument supplied; must be -u, -d, or -r."
|
|
fi
|