From: Tim Yardley Date: Tue, 10 Apr 2007 22:34:14 +0000 (+0000) Subject: clean up postgresql X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=44acf29afff5e974cad7a960e4323c3ec96c9669;p=openwrt%2Fsvn-archive%2Fpackages.git clean up postgresql SVN-Revision: 6928 --- 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