closing commit before branching out Multiplex

This commit is contained in:
STEINNI
2025-10-05 10:11:03 +00:00
parent 6381bfe44a
commit 03af111d7f
16 changed files with 167 additions and 87 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
#!/bin/sh
cd /opt/WssGateway/
cd /opt/p42wssGateway/
pid=`ps -ef | grep wssGateway |grep -v grep | awk '{print $2}'`
pid=`ps -ef | grep p42wssGateway |grep -v grep | awk '{print $2}'`
if [ -z "$pid" ]
then
node wssGateway.js > wssGateway.log 2>&1 &
node p42wssGateway.js > wssGateway.log 2>&1 &
else
echo ''
echo 'Already running PID='"$pid"' (use stopWssGw.sh to stop it)'