-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch sigterm for version 1.17.0 too
* Adds the missing patchfile for 1.17.0, meaning sigterm is now correctly patched for that version too. * Removes the "default" patchfiles directory and makes the per-version directories mandatory, so future releases can't accidentally forget to add a new patchfile. * Removes the patchfile for pgbouncer 1.7 since that version is no longer built. Closes #150. Closes #168.
- Loading branch information
Showing
6 changed files
with
11 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
10 changes: 5 additions & 5 deletions
10
...chfiles/1.13.0/0001-Disable-SIGTERM.patch → ...chfiles/1.17.0/0001-Disable-SIGTERM.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
--- src/main.c 2019-09-26 21:37:14.000000000 +0000 | ||
+++ src/main.c 2020-03-20 20:43:20.876976754 +0000 | ||
@@ -425,9 +425,7 @@ | ||
--- src/main.c | ||
+++ src/main.c | ||
@@ -445,9 +445,7 @@ | ||
|
||
static void handle_sigterm(evutil_socket_t sock, short flags, void *arg) | ||
{ | ||
- log_info("got SIGTERM, fast exit"); | ||
- /* pidfile cleanup happens via atexit() */ | ||
- exit(1); | ||
+ log_info("Got SIGTERM, ignoring!"); | ||
} | ||
|
||
static void handle_sigint(evutil_socket_t sock, short flags, void *arg) |
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters