#381 Added support for Amazon Linux startup script

This commit is contained in:
tknew2 2014-04-11 18:40:30 +08:00
parent 4a3de35df3
commit 40ec3cfd14
2 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,7 @@
- Helper shown when -h
- Linter errors
- Systemd support for Fedora / ArchLinux
- #381 Add support for Amazon Linux startup script
- Fixed rendering
- Interaction possible with VitalSigns.io
- Avoid exception when dump file is not present

View File

@ -63,6 +63,10 @@ function softReload(God, id, cb) {
timeout_2 = setTimeout(function() {
old_worker.disconnect();
}, cst.GRACEFUL_TIMEOUT);
/**
* Message sent to the process to alert to shutdown
* Then after cst.GRACEFUL_TIMEOUT ms it disconnect the process
*/
old_worker.send('shutdown');
});
return false;