diff --git a/webapp/startweb.sh b/webapp/startweb.sh new file mode 100644 index 0000000..aad6f7f --- /dev/null +++ b/webapp/startweb.sh @@ -0,0 +1,6 @@ +#!/bin/sh +if [ -f "`command -v screen`"]; then + screen -S EnlivenMinetest node server.js +else + nohup node server.js & +fi