Skip to content

Commit

Permalink
Ensure stop script can never kill itself
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechilds committed Oct 25, 2022
1 parent 590071d commit 958883a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/stop
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export COMPOSE_HTTP_TIMEOUT=240
echo "Killing background services"
ps -Af \
| grep '\./karen\|\./scripts/status-monitor\|\./scripts/memory-monitor\|\./scripts/backup/\|umbrel/scripts\|fswatch' \
| grep -v '\-run.sh\|update' \
| grep -v '\-run.sh\|update\|stop' \
| awk '{print $2}' \
| xargs sudo kill 2> /dev/null || true

Expand Down

0 comments on commit 958883a

Please sign in to comment.