diff options
author | Kevin Matthew <kevin@kevinmatthew.com> | 2019-03-15 23:59:42 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-03-16 06:53:27 +0700 |
commit | 67bf3a5a17bf988b0cb34628e88c8b7ba15584fa (patch) | |
tree | 9cd91ce3c4cb062241af63ba6b279cb54ccb9530 /multimedia/plexmediaserver/rc.plexmediaserver | |
parent | 7dd211db9681728d7b4065c90ec9a2ab6c11caba (diff) | |
download | slackbuilds-67bf3a5a17bf988b0cb34628e88c8b7ba15584fa.tar.gz |
multimedia/plexmediaserver: Updated for version 1.15.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 5a9b797318..0ca0d327e4 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 |