Browse Source

fix startweb.sh syntax

master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
ea777e37b9
  1. 6
      webapp/startweb.sh

6
webapp/startweb.sh

@ -1,6 +1,8 @@
#!/bin/sh
if [ -f "`command -v screen`"]; then
if [ -f "`command -v screen`" ]; then
screen -S EnlivenMinetest node server.js
else
nohup node server.js &
nohup node server.js & | exit 1
echo "node server.js is running in background. terminate as follows:"
echo " killall node"
fi

Loading…
Cancel
Save