Changeset 38785
- Timestamp:
- 2024-02-25T20:27:51+13:00 (3 months ago)
- Location:
- gs3-installations/thewillow/trunk/sites/thewillow/dlcol-chatgpt/react-gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-installations/thewillow/trunk/sites/thewillow/dlcol-chatgpt/react-gui/START-PROD.sh
r38776 r38785 18 18 nohup npm run start & 19 19 20 echo "" 21 22 # Small sleep, just to let the nohup output have time to be dislayed 23 sleep 1 24 25 20 26 echo "====" 21 27 echo "" -
gs3-installations/thewillow/trunk/sites/thewillow/dlcol-chatgpt/react-gui/STOP-PROD.sh
r38777 r38785 15 15 16 16 pids=$(ps auxww | grep "next start" | grep node | awk '{print $2}') 17 num_pids=$(echo $pids | wc -w) 17 18 18 echo "Suggested kill commands:"19 echo ""20 19 21 for pid in $pids ; do 22 echo " kill $pid" 23 done 20 if [ $num_pids == 0 ] ; then 21 echo "**** No running NodeJS-based Next servers found!" 22 else 23 echo "Suggested kill commands:" 24 echo "" 25 26 for pid in $pids ; do 27 echo " kill $pid" 28 done 29 fi 30 24 31 echo "----" 25 32 echo ""
Note:
See TracChangeset
for help on using the changeset viewer.