diff options
| author | Unbit <info@unbit.it> | 2014-05-06 18:32:01 +0200 |
|---|---|---|
| committer | Unbit <info@unbit.it> | 2014-05-06 18:32:01 +0200 |
| commit | cf8580775a66daf331e3b569b6f546d0d677c5a8 (patch) | |
| tree | 841db1157dcb151ae3974238d788c4d9b54f9f7e /core/fork_server.c | |
| parent | 472ac2dd9dd05dbc0d6631ecc8e2fc8dfd977ddc (diff) | |
| download | uwsgi-cf8580775a66daf331e3b569b6f546d0d677c5a8.tar.gz | |
exit_on_reload on by default in fork-server mode
Diffstat (limited to 'core/fork_server.c')
| -rw-r--r-- | core/fork_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fork_server.c b/core/fork_server.c index e88b1284..266ffa9f 100644 --- a/core/fork_server.c +++ b/core/fork_server.c @@ -176,6 +176,8 @@ void uwsgi_fork_server(char *socket) { } // this is the only step required to have a consistent environment uwsgi.fork_socket = NULL; + // this avoids the process to re-exec itself + uwsgi.exit_on_reload = 1; // fixup the Emperor communication uwsgi_check_emperor(); // continue with uWSGI startup |
