From: Tim Yardley Date: Tue, 10 Apr 2007 22:34:14 +0000 (+0000) Subject: clean up postgresql X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=f69862bf5e1cde747a2c4f15eeca872e0030c6bd clean up postgresql SVN-Revision: 6928 --- diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index 17ee3e6e99..30103610ee 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 df17c1279e..0000000000 --- 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 0000000000..df17c1279e --- /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