This commit is contained in:
STEINNI
2025-08-30 23:26:12 +00:00
commit 6fb75a0888
9 changed files with 7079 additions and 0 deletions
Executable
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
cd /opt/p42api/
pid=`ps -ef | grep p42api |grep -v grep | awk '{print $2}'`
if [ -z "$pid" ]
then
node p42api.js > p42api.log 2>&1 &
else
echo ''
echo 'Already running PID='"$pid"' (use stopApi.sh to stop it)'
echo ''
fi