poikilos
6 years ago
committed by
Jacob Gustafson
1 changed files with 4 additions and 2 deletions
@ -1,6 +1,8 @@ |
|||||
#!/bin/sh |
#!/bin/sh |
||||
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 & |
nohup node server.js & | exit 1 |
||||
|
echo "node server.js is running in background. terminate as follows:" |
||||
|
echo " killall node" |
||||
fi |
fi |
||||
|
Loading…
Reference in new issue