Closed m1cr0man closed 8 years ago
update.sh never finishes on the live server.
update.sh
This is because the exec function from childprocess is used to run it, and when all parts of the server are resarted, the script is killed and finishes early.
exec
childprocess
The fix is to switch to the spawn function which creates a new, independent process.
spawn
update.sh
never finishes on the live server.This is because the
exec
function fromchildprocess
is used to run it, and when all parts of the server are resarted, the script is killed and finishes early.The fix is to switch to the
spawn
function which creates a new, independent process.