File size: 351 Bytes
bad179a | 1 2 3 4 5 6 | #!/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"
|