Download dev/tests/web/start.sh from mchuca/ServerMonitor: direct link, hf CLI and curl.
- Browser
- Download file 449 Bytes
-
https://huggingface.co/mchuca/ServerMonitor/resolve/main/dev/tests/web/start.sh
- Command line
-
hf download hf://mchuca/ServerMonitor/dev/tests/web/start.sh
-
curl -L -o start.sh https://huggingface.co/mchuca/ServerMonitor/resolve/main/dev/tests/web/start.sh
449 Bytes
| # start.sh <L|W> <cfgdir> <port>: starts an edition in the background with a scratch config; pid in <cfgdir>.pid | |
| T=$HOME/.local/share/sm-dev/tmp/review-web | |
| if [ "$1" = W ]; then P="$HOME/Desktop/Server Monitor(web-window)"; PATH="$HOME/.local/share/sm-dev/fakewin:$PATH"; else P="$HOME/Desktop/Server Monitor(web-linux)"; fi | |
| XDG_CONFIG_HOME="$2" APPDATA="$2" PORT="$3" nohup node "$P/server.js" > "$2.out" 2> "$2.err" & | |
| echo $! > "$2.pid" | |