roles/postgresql-server: Remove postgresql-setup
The *postgresql-setup* service is no longer necessary, as upstream has fixed the SELinux policy to allow root to invoke the `postgresql-setup` command directly.
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Before=postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
Environment=PGDATA={{ pgdata_dir }}
|
||||
Environment=LANG={{ pg_locale }}
|
||||
User=postgres
|
||||
Group=postgres
|
||||
ExecStart=/bin/sh -c "[ -f ${PGDATA}/PG_VERSION ] || initdb -D ${PGDATA}"
|
||||
Reference in New Issue
Block a user