File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -249,13 +249,13 @@ Requires=zfs-mount.service
249249Type=forking
250250User=postgres
251251Group=postgres
252- # Long timeout (2 hours) to allow WAL replay for large databases (e.g., 1TB+ databases can take 30+ minutes)
253- ExecStart=${PG_BIN} /pg_ctl start -t 7200 -D ${DATA_DIR} -l ${DATA_DIR} /postgresql.log
252+ # Long timeout (4 hours) to allow WAL replay for large databases
253+ ExecStart=${PG_BIN} /pg_ctl start -t 14400 -D ${DATA_DIR} -l ${DATA_DIR} /postgresql.log
254254ExecStop=${PG_BIN} /pg_ctl stop -D ${DATA_DIR} -m fast
255255ExecReload=${PG_BIN} /pg_ctl reload -D ${DATA_DIR}
256256KillMode=mixed
257257KillSignal=SIGINT
258- TimeoutStartSec=7200
258+ TimeoutStartSec=14400
259259TimeoutStopSec=300
260260Restart=on-failure
261261RestartSec=5s
You can’t perform that action at this time.
0 commit comments