Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion root/etc/services.d/plex/finish
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ echo "Stopping Plex Media Server."

# Ask nicely
pids="$(ps -ef | grep 'Plex Media Server' | grep -v grep | awk '{print $2}')"
kill -15 $pids
if [ "$pids" != "" ]; then
kill -15 $pids
Comment thread
cilindrox marked this conversation as resolved.
Outdated
fi

sleep 5

Expand Down