mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
#381 Added support for Amazon Linux startup script
This commit is contained in:
parent
4a3de35df3
commit
40ec3cfd14
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user