aboutsummaryrefslogtreecommitdiffstats
path: root/testing/agensgraph/agensgraph.pre-install
blob: b849173aa5f6a395c1ac7c8002a4f6efc6024de0 (plain)
1
2
3
4
5
6
7
8
9
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 "PostgreSQL user" \
	-s /bin/sh -G postgres postgres 2>/dev/null

exit 0