Mercurial Hosting > luan
diff backup/stop.sh.orig @ 2036:2740f8a9ba3a acme-tiny tip
First test prototype (also convert spaces to tabs and remove *.orig files)
| author | Violet7 |
|---|---|
| date | Wed, 05 Nov 2025 21:49:39 -0800 |
| parents | 00bbfef1a86b |
| children |
line wrap: on
line diff
--- a/backup/stop.sh.orig Wed Nov 05 11:20:47 2025 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -#!/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
