Mercurial Hosting > luan
view backup/stop.sh.orig @ 2035:00bbfef1a86b acme-tiny
added Thread.try_synchronized
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 05 Nov 2025 11:20:47 -0700 |
| parents | d718511fc69f |
| children |
line wrap: on
line source
#!/bin/bash LUAN_PIDS=$(ps ax | awk '/[s]erver.luan/ {print $1}') if [ -n "$LUAN_PIDS" ]; then echo "Killing luan processes: $LUAN_PIDS" kill -TERM $LUAN_PIDS else echo "Info: No luan processes found, continuing." fi exit 0
