Mercurial Hosting > luan
view backup/stop.sh @ 2041:cd51e7e31950 acme-tiny
use try/catch/finally to clean up temp dir even on error
| author | Violet7 |
|---|---|
| date | Sun, 09 Nov 2025 01:56:58 -0800 |
| parents | ee75b5c12272 |
| children |
line wrap: on
line source
#!/bin/bash LUAN_PIDS=$(ps ax | awk '{if($0~"backup_[s]erver.luan"){print $1}}'); kill -TERM $LUAN_PIDS; exit 0;
