diff options
Diffstat (limited to 'multimedia/plexmediaserver/rc.plexmediaserver')
-rw-r--r-- | multimedia/plexmediaserver/rc.plexmediaserver | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/multimedia/plexmediaserver/rc.plexmediaserver b/multimedia/plexmediaserver/rc.plexmediaserver index 5a9b79731824d..0ca0d327e411a 100644 --- a/multimedia/plexmediaserver/rc.plexmediaserver +++ b/multimedia/plexmediaserver/rc.plexmediaserver @@ -43,6 +43,7 @@ plexmediaserver_stop() { PGREP_TUNER=$(pgrep -f "Plex Tuner Service") PGREP_EGP=$(pgrep -f "Plex EAE Service") PGREP_TRANSCODER=$(pgrep -f "Plex Transcoder") + PGREP_PLEXRELAY=$(pgrep -f "Plex Relay") if [ -z "$PIDOF" ] && [ -z "$PGREP_PLUGINS" ]; then @@ -85,6 +86,13 @@ plexmediaserver_stop() { done fi + if [ -n "$PGREP_PLEXRELAY" ]; then + for i in "$PGREP_PLEXRELAY"; do + kill -9 $i + done + fi + + echo "done" fi |