Skip to content

Commit 1d9044f

Browse files
committed
switch to SIGINT instead of SIGTERM
1 parent 4523e1b commit 1d9044f

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Containerfile.pkg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ ENV PGDATA="/var/lib/postgresql/data" \
6363
POSTGRES_INITDB_ARGS="" \
6464
POSTGRES_HOST_AUTH_METHOD="scram-sha-256"
6565

66+
STOPSIGNAL SIGINT
67+
6668
# --- Expose (Injected by Generator) ---
6769
EXPOSE 5432
6870

Containerfile.pkg.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ ENV PGDATA="/var/lib/postgresql/data" \
6464
POSTGRES_INITDB_ARGS="" \
6565
POSTGRES_HOST_AUTH_METHOD="scram-sha-256"
6666

67+
STOPSIGNAL SIGINT
68+
6769
# --- Expose (Injected by Generator) ---
6870
{%- if ports %}
6971
EXPOSE {{ ports | map(attribute='port') | join(' ') }}

0 commit comments

Comments
 (0)