ServerMonitor / dev /tests /web /startW.sh
mchuca's picture
Server Monitor: six editions (C++/Qt, Python, web for Linux and Windows), requirements and developer kit
bad179a
Raw History Blame Contribute Delete
351 Bytes
#!/bin/sh
# startW.sh <cfgdir> <port>: Windows edition with the review stand-in powershell
T=$HOME/.local/share/sm-dev/tmp/review-web; P="$HOME/Desktop/Server Monitor(web-window)"
PATH="$T/fake:$PATH" FAKE_CTL="$1.ctl" FAKE_LOG="$1.log" XDG_CONFIG_HOME="$1" APPDATA="$1" PORT="$2" nohup node "$P/server.js" > "$1.out" 2> "$1.err" &
echo $! > "$1.pid"