mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
67f51c84f8
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
20 lines
588 B
Plaintext
20 lines
588 B
Plaintext
[program:postgres]
|
|
command=/usr/local/bin/prefix-log /usr/bin/pg_ctlcluster 13 main start --foreground
|
|
|
|
# Only start if START_POSTGRES=1
|
|
autostart=%(ENV_START_POSTGRES)s
|
|
|
|
# Lower priority number = starts first
|
|
priority=1
|
|
|
|
autorestart=unexpected
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
# Use 'Fast Shutdown' mode which aborts current transactions and closes connections quickly.
|
|
# (Default (TERM) is 'Smart Shutdown' which stops accepting new connections but
|
|
# lets existing connections close gracefully.)
|
|
stopsignal=INT
|