CPSSD / feedlark

Simple and Sharp RSS Reader
http://feedlark.com
MIT License
5 stars 4 forks source link

Production updater crashes #243

Closed m1cr0man closed 8 years ago

m1cr0man commented 8 years ago

update.sh never finishes on the live server.

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.

The fix is to switch to the spawn function which creates a new, independent process.