Skip to content

Respond correctly to --killSignal (was: no logging after graceful shutdown) #385

Open
@mef

Description

@mef

Whenever I shutdown a script using --killSignal=SIGTERM (cf. #320), all the operations executed after running forever stop are not show in the logs anymore.

You can observe this problem on forever-monitor graceful exit example

  1. run forever start --killSignal=SIGTERM graceful-exit.js
  2. run forever stop graceful-exit.js
  3. check the produced produced log. The sentence 'Exiting after some time.' should appear, but it does not.

Am I missing something?

This is not a really big deal, as at least these instructions are being executed (only the logging in forever log file is not performed).

This happens to me on node 0.8.17, and current master version of forever and forever-monitor.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions