diff options
Diffstat (limited to 'postgresql.service')
-rw-r--r-- | postgresql.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/postgresql.service b/postgresql.service index 0c733bd..e59ce5c 100644 --- a/postgresql.service +++ b/postgresql.service @@ -25,6 +25,7 @@ StandardOutput=syslog # Disable OOM kill on the postmaster OOMScoreAdjust=-1000 +ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA} ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o "-p ${PGPORT}" -w -t 300 ExecStop=/usr/bin/pg_ctl stop -D ${PGDATA} -s -m fast ExecReload=/usr/bin/pg_ctl reload -D ${PGDATA} -s |