Ajout : DAViCal + CalDavZAP + AgenDAV .
[lhc/ateliers.git] / etc / sv / postgres / local.sh
index 8b784c1..9e97c8a 100644 (file)
@@ -44,21 +44,15 @@ sudo install -m 640 -o postgres -g postgres /dev/stdin \
  /etc/postgresql/9.1/main/pg_ctl.conf <<-EOF
        pg_ctl_options = ''
        EOF
-sudo install -m 640 -o postgres -g postgres /dev/stdin \
- /etc/postgresql/9.1/main/pg_ident.conf <<-EOF
-       # MAPNAME       SYSTEM-USERNAME         PG-USERNAME
-       admin           postgres                postgres
-       admin           root                    postgres
-       EOF
 sudo install -m 640 -o postgres -g postgres /dev/stdin \
  /etc/postgresql/9.1/main/start.conf <<-EOF
        EOF
-sudo install -m 640 -o postgres -g postgres /dev/stdin \
- /etc/postgresql/9.1/main/pg_hba.conf <<-EOF
-       local all postgres peer map=admin
-       local all all      peer
-       hostssl all postgres samehost cert
-       EOF
+sudo install -m 640 -o postgres -g postgres \
+ "$tool"/etc/postgresql/9.1/main/pg_ident.conf \
+        /etc/postgresql/9.1/main/pg_ident.conf
+sudo install -m 640 -o postgres -g postgres \
+ "$tool"/etc/postgresql/9.1/main/pg_hba.conf \
+        /etc/postgresql/9.1/main/pg_hba.conf
 sudo install -m 640 -o postgres -g postgres-data \
  "$tool"/etc/postgresql/9.1/main/postgresql.conf \
         /etc/postgresql/9.1/main/postgresql.conf