Thursday, October 18, 2012

Exec kill signal

Today I have added new directive exec_kill_signal to set termination signal for child processes. Default signal is SIGKILL which is not the best choice in some cases. You can set a different signal using numeric or symbolic name. A simple example:

exec_kill_signal term;

The new feature makes it possible to write exec wrapper in any language. Here's a new wiki article about writing them in bash.

1 comment:

  1. When one stops the active sigen nginx exec_static as being able to apra that stop the process

    ReplyDelete