Mercurial Hosting > luan
comparison backup/stop.sh.orig @ 2034:d718511fc69f acme-tiny
Begin work on moving to tiny-acme.
| author | Violet7 |
|---|---|
| date | Tue, 04 Nov 2025 20:28:50 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 2033:905a6ade55f2 | 2034:d718511fc69f |
|---|---|
| 1 #!/bin/bash | |
| 2 | |
| 3 LUAN_PIDS=$(ps ax | awk '/[s]erver.luan/ {print $1}') | |
| 4 | |
| 5 if [ -n "$LUAN_PIDS" ]; then | |
| 6 echo "Killing luan processes: $LUAN_PIDS" | |
| 7 kill -TERM $LUAN_PIDS | |
| 8 else | |
| 9 echo "Info: No luan processes found, continuing." | |
| 10 fi | |
| 11 | |
| 12 exit 0 |
