summaryrefslogtreecommitdiff
path: root/postgresql
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql')
-rw-r--r--postgresql/.signature4
-rw-r--r--postgresql/postgresql.rc11
2 files changed, 7 insertions, 8 deletions
diff --git a/postgresql/.signature b/postgresql/.signature
index 4e4d94594..c58f52375 100644
--- a/postgresql/.signature
+++ b/postgresql/.signature
@@ -1,9 +1,9 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3/cT+rqQo8NUmsnQVJqxJUBEQpLw9S3Zo9eQP3cC8lS/szyuadOrJ6zyf0PD0FSd7FnIvjrDPKUaWqbVIZfiPgs=
+RWSagIOpLGJF3zAu3S8SRHcxkbRfr4eYjXwaswLG7f1QmtXcwZCngg6EUh81VeNAu9l+R2uT5Leg9ahddDEYP8TQoJP8oErwEQo=
SHA256 (Pkgfile) = fcfa65d78ec521511bbc3670986aa657d1cb4b89cb4e9cf710999a7026b7dda1
SHA256 (.footprint) = 1d67f8715b305aba14022dede7db6d83d98fe808209e3ced51153fd75af56b72
SHA256 (postgresql-14.0.tar.bz2) = ee2ad79126a7375e9102c4db77c4acae6ae6ffe3e082403b88826d96d927a122
SHA256 (postgresql-run-socket.patch) = 02ffb53b0a5049233f665c873b96264db77daab30e5a2194d038202d815a8e6a
SHA256 (postgresql-perl-rpath.patch) = af6186d40128e043f333da4591455bf62b7c96e80214835f5c8c60b635ea9afb
-SHA256 (postgresql.rc) = 95ada4267034cf5d33340b8411a18f8cbd0428b5714afac16990b5c3a144f347
+SHA256 (postgresql.rc) = 1e06f7cb11e198201f40bb265dc36bfd0085a29e55a8352315969d3512607044
SHA256 (postgresql.pam) = 978a2542078a1216b0c23756f49e79ac5a99c905e5ec1e57867d0941a505668a
diff --git a/postgresql/postgresql.rc b/postgresql/postgresql.rc
index 416b8243b..b80021504 100644
--- a/postgresql/postgresql.rc
+++ b/postgresql/postgresql.rc
@@ -4,14 +4,13 @@
PG_DATA=/var/pgsql/data
-[ -e /run/postgresql ] && install -D -u 42 -g 42 /run/postgresql
+[ ! -e /run/postgresql ] && install -d -o postgres -g postgres /run/postgresql
case "$1" in
- start|stop|status|restart|reload)
- [ ! -e /run/postgresql ] && mkdir /run/postgresql && chown postgres /run/postgresql
- sudo -u postgres pg_ctl -D "$PG_DATA" -l /var/log/postgresql "$1" ;;
- *)
- echo "usage: $0 start|stop|restart|reload|status" ;;
+ start|stop|status|restart|reload)
+ sudo -u postgres pg_ctl -D "$PG_DATA" -l /var/log/postgresql "$1" ;;
+ *)
+ echo "usage: $0 start|stop|restart|reload|status" ;;
esac
# End of file

Generated by cgit