comparison host/check_app.sh @ 2024:fa8304b060d9

rename launching luan files
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 29 Oct 2025 21:12:53 -0600
parents 665049cffc02
children 677795f0a4e7
comparison
equal deleted inserted replaced
2023:544ccce564f6 2024:fa8304b060d9
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.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