[Service] ExecStartPre= ExecStartPre=+/usr/local/lib/bin/postgresql_init ExecStartPre=/usr/libexec/postgresql-check-db-dir %N Environment=PGDATA=/srv/postgresql Environment=PG_CONF=/etc/postgresql/postgresql.conf Environment=PG_HBA=/etc/postgresql/pg_hba.conf Environment=PG_IDENT=/etc/postgresql/pg_ident.conf ExecStart= ExecStart=/usr/bin/postmaster -D ${PGDATA} -c config_file=${PG_CONF} -c hba_file=${PG_HBA} -c ident_file=${PG_IDENT} ExecStartPost=-/usr/bin/psql -f /etc/postgresql/postgresql.sql