diff options
author | Tim Biermann <tbier@posteo.de> | 2021-08-15 11:14:35 +0200 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-08-15 11:14:35 +0200 |
commit | c7ffa45ab1e23abe8ef500957f44c41b30a59138 (patch) | |
tree | cf5a68504f9686018351b68e79896fe813e1e6e1 /postgresql/post-install | |
parent | a50ada63c1d93a2c82c6d0d6db1cc08e8b65b3bc (diff) | |
download | contrib-c7ffa45ab1e23abe8ef500957f44c41b30a59138.tar.gz contrib-c7ffa45ab1e23abe8ef500957f44c41b30a59138.tar.xz |
[notify] postgresql: fixed rpath for perl, moved post-install script to pre-install, you might need to readd the postgres user/group
Diffstat (limited to 'postgresql/post-install')
-rwxr-xr-x | postgresql/post-install | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/postgresql/post-install b/postgresql/post-install deleted file mode 100755 index 9433305b1..000000000 --- a/postgresql/post-install +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -e - -USER=postgres -HOME=/var/pgsql/data -GROUP=postgres -ID=42 - -getent group $GROUP >/dev/null || groupadd -g $ID -r $GROUP -getent passwd $USER >/dev/null || useradd -u $ID -d $HOME -g $GROUP -s /bin/false $USER - -test -d $HOME && exit 0 - -install -d -o $USER -g $GROUP $HOME -su -s /bin/sh -c "pg_ctl -D $HOME initdb" $USER - |