1
0

postgres.supervisord.conf 561 B

12345678910111213141516171819
  1. [program:postgres]
  2. command=/usr/local/bin/prefix-log gosu postgres postgres
  3. # Only start if START_POSTGRES=1
  4. autostart=%(ENV_START_POSTGRES)s
  5. # Lower priority number = starts first
  6. priority=1
  7. autorestart=unexpected
  8. stdout_logfile=/dev/stdout
  9. stdout_logfile_maxbytes=0
  10. stderr_logfile=/dev/stderr
  11. stderr_logfile_maxbytes=0
  12. # Use 'Fast Shutdown' mode which aborts current transactions and closes connections quickly.
  13. # (Default (TERM) is 'Smart Shutdown' which stops accepting new connections but
  14. # lets existing connections close gracefully.)
  15. stopsignal=INT