mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 12:00:21 +00:00
16 lines
521 B
Text
16 lines
521 B
Text
[program:postgres]
|
|
command=/usr/local/bin/prefix-log /usr/bin/pg_ctlcluster 13 main start --foreground
|
|
|
|
# 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
|