aboutsummaryrefslogtreecommitdiff
path: root/sysutils/webmin/files/patch-postgresql::config-freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/webmin/files/patch-postgresql::config-freebsd')
-rw-r--r--sysutils/webmin/files/patch-postgresql::config-freebsd12
1 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/webmin/files/patch-postgresql::config-freebsd b/sysutils/webmin/files/patch-postgresql::config-freebsd
index 12058ad6b789..6d6a55cb744e 100644
--- a/sysutils/webmin/files/patch-postgresql::config-freebsd
+++ b/sysutils/webmin/files/patch-postgresql::config-freebsd
@@ -3,19 +3,21 @@ $FreeBSD$
--- postgresql/config-freebsd.orig
+++ postgresql/config-freebsd
-@@ -1,17 +1,17 @@
+@@ -1,18 +1,18 @@
basedb=template1
pass=
-hba_conf=/usr/local/pgsql/data/pg_hba.conf
-alt_hba_conf=/usr/local/share/postgresql/pg_hba.conf.sample
-pid_file=/usr/local/pgsql/data/postmaster.pid
--stop_cmd=/usr/local/etc/rc.d/010.pgsql.sh stop
--start_cmd=/usr/local/etc/rc.d/010.pgsql.sh start
+-stop_cmd=/usr/local/etc/rc.d/postgresql stop
+-start_cmd=/usr/local/etc/rc.d/postgresql start
+-setup_cmd=/usr/local/etc/rc.d/postgresql initdb
+hba_conf=%%PREFIX%%/pgsql/data/pg_hba.conf
+alt_hba_conf=%%PREFIX%%/share/postgresql/pg_hba.conf.sample
+pid_file=%%PREFIX%%/pgsql/data/postmaster.pid
-+stop_cmd=%%PREFIX%%/etc/rc.d/010.pgsql.sh stop
-+start_cmd=%%PREFIX%%/etc/rc.d/010.pgsql.sh start
++stop_cmd=%%PREFIX%%/etc/rc.d/postgresql stop
++start_cmd=%%PREFIX%%/etc/rc.d/postgresql start
++setup_cmd=%%PREFIX%%/etc/rc.d/postgresql initdb
perpage=25
-psql=/usr/local/bin/psql
+psql=%%PREFIX%%/bin/psql