diff options
Diffstat (limited to 'community/postgresql-bdr/postgresql-bdr.pre-install')
-rw-r--r-- | community/postgresql-bdr/postgresql-bdr.pre-install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/community/postgresql-bdr/postgresql-bdr.pre-install b/community/postgresql-bdr/postgresql-bdr.pre-install new file mode 100644 index 00000000000..dd347062242 --- /dev/null +++ b/community/postgresql-bdr/postgresql-bdr.pre-install @@ -0,0 +1,10 @@ +#!/bin/sh + +# Fixed GID/UID values as this users was previously included in the +# default /etc/passwd as shipped by main/alpine-baselayout. + +addgroup -g 70 -S postgres 2>/dev/null +adduser -u 70 -S -D -H -h /var/lib/postgresql -g "Postgres user" \ + -s /bin/sh -G postgres postgres 2>/dev/null + +exit 0 |