diff 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
line wrap: on
line diff
--- a/host/check_app.sh	Wed Oct 29 21:12:53 2025 -0600
+++ b/host/check_app.sh	Wed Oct 29 21:34:39 2025 -0600
@@ -3,7 +3,7 @@
 export PATH="$PATH:/usr/local/bin";
 
 function getPids() {
-  PIDS=$(ps ax | awk '{if($0~"[r]un_host.luan"){print $1}}');
+  PIDS=$(ps ax | awk '{if($0~"[r]un(_host)?.luan"){print $1}}');
 }
 
 function checkStopped() {