Mercurial Hosting > luan
diff backup/stop.sh @ 2029:5fa5a7efc936
merge
| author | Violet7 |
|---|---|
| date | Thu, 30 Oct 2025 21:25:37 -0700 |
| parents | 9c10e37c56f6 |
| children | ee75b5c12272 |
line wrap: on
line diff
--- a/backup/stop.sh Thu Oct 30 21:22:03 2025 -0700 +++ b/backup/stop.sh Thu Oct 30 21:25:37 2025 -0700 @@ -1,5 +1,5 @@ #!/bin/bash -LUAN_PIDS=$(ps ax | awk '{if($0~"[s]erver.luan"){print $1}}'); +LUAN_PIDS=$(ps ax | awk '{if($0~"(backup_)?[s]erver.luan"){print $1}}'); kill -TERM $LUAN_PIDS; exit 0;
