2022-04-27 09:39:41 -04:00
|
|
|
[program:postgres]
|
2022-07-15 06:13:40 -04:00
|
|
|
command=/usr/local/bin/prefix-log gosu postgres postgres
|
2022-04-27 09:39:41 -04:00
|
|
|
|
2024-03-21 09:50:51 -04:00
|
|
|
# Only start if START_POSTGRES=true
|
2022-06-08 05:57:05 -04:00
|
|
|
autostart=%(ENV_START_POSTGRES)s
|
|
|
|
|
2022-04-27 09:39:41 -04:00
|
|
|
# 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
|