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