From: pavlov Date: Tue, 10 Apr 2007 22:34:14 +0000 (+0000) Subject: clean up postgresql X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=8a929b7fbd8aa5122ac13c895b0649606f709a64;p=packages.git clean up postgresql git-svn-id: svn://svn.openwrt.org/openwrt/packages@6928 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index 17ee3e6e9..30103610e 100644 --- a/libs/postgresql/Makefile +++ b/libs/postgresql/Makefile @@ -195,7 +195,7 @@ define Package/pgsql-server/install $(PKG_INSTALL_DIR)/usr/share/postgresql/system_views.sql \ $(1)/usr/share/postgresql - $(INSTALL_DATA) ./files/postgresql.config $(1)/etc/config/postgres + $(INSTALL_DATA) ./files/postgresql.config $(1)/etc/config/postgresql $(CP) -r \ $(PKG_INSTALL_DIR)/usr/share/postgresql/timezone \ diff --git a/libs/postgresql/files/postgresql.conf b/libs/postgresql/files/postgresql.conf deleted file mode 100644 index df17c1279..000000000 --- a/libs/postgresql/files/postgresql.conf +++ /dev/null @@ -1,5 +0,0 @@ -config postgresql config - option PGUSER postgres - option PGDATA /var/postgresql/data - option PGLOG /var/postgresql/data/postgresql.log - option PG_CTL /usr/bin/pg_ctl diff --git a/libs/postgresql/files/postgresql.config b/libs/postgresql/files/postgresql.config new file mode 100644 index 000000000..df17c1279 --- /dev/null +++ b/libs/postgresql/files/postgresql.config @@ -0,0 +1,5 @@ +config postgresql config + option PGUSER postgres + option PGDATA /var/postgresql/data + option PGLOG /var/postgresql/data/postgresql.log + option PG_CTL /usr/bin/pg_ctl