Mercurial Hosting > luan
comparison host/check_app.sh @ 2025:677795f0a4e7
fix
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 29 Oct 2025 21:34:39 -0600 |
| parents | fa8304b060d9 |
| children | ee75b5c12272 |
comparison
equal
deleted
inserted
replaced
| 2024:fa8304b060d9 | 2025:677795f0a4e7 |
|---|---|
| 1 PIDS=""; | 1 PIDS=""; |
| 2 | 2 |
| 3 export PATH="$PATH:/usr/local/bin"; | 3 export PATH="$PATH:/usr/local/bin"; |
| 4 | 4 |
| 5 function getPids() { | 5 function getPids() { |
| 6 PIDS=$(ps ax | awk '{if($0~"[r]un_host.luan"){print $1}}'); | 6 PIDS=$(ps ax | awk '{if($0~"[r]un(_host)?.luan"){print $1}}'); |
| 7 } | 7 } |
| 8 | 8 |
| 9 function checkStopped() { | 9 function checkStopped() { |
| 10 getPids; | 10 getPids; |
| 11 if [ "$PIDS" != "" ]; then | 11 if [ "$PIDS" != "" ]; then |
