diff options
author | Masatomo Nakano <nakano@gentoo.org> | 2003-02-28 21:10:19 +0000 |
---|---|---|
committer | Masatomo Nakano <nakano@gentoo.org> | 2003-02-28 21:10:19 +0000 |
commit | c904a541f351c453607bc22835bf1e04c3651fe0 (patch) | |
tree | 45eb0618c95929b8c24d41c5f641d1eff932d39d /dev-db/postgresql/files | |
parent | touchups to fix #16567 (diff) | |
download | gentoo-2-c904a541f351c453607bc22835bf1e04c3651fe0.tar.gz gentoo-2-c904a541f351c453607bc22835bf1e04c3651fe0.tar.bz2 gentoo-2-c904a541f351c453607bc22835bf1e04c3651fe0.zip |
version bump.
Diffstat (limited to 'dev-db/postgresql/files')
-rw-r--r-- | dev-db/postgresql/files/7.3.2/postgresql | 27 | ||||
-rw-r--r-- | dev-db/postgresql/files/digest-postgresql-7.3.2 | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-db/postgresql/files/7.3.2/postgresql b/dev-db/postgresql/files/7.3.2/postgresql new file mode 100644 index 000000000000..de14f1c33b15 --- /dev/null +++ b/dev-db/postgresql/files/7.3.2/postgresql @@ -0,0 +1,27 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# /space/gentoo/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.rc6,v 1.1 2002/01/06 00:53:24 woodchip Exp + +depend() { + need net +} + +start() { + ebegin "Starting postgres" + su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'" + eend $? +} + +stop () { + ebegin "Stopping postgres" + su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast" + eend $? +} + +svc_restart () { + ebegin "Restarting postgres" + su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'" + eend $? +} + diff --git a/dev-db/postgresql/files/digest-postgresql-7.3.2 b/dev-db/postgresql/files/digest-postgresql-7.3.2 new file mode 100644 index 000000000000..e2a3e27bedc2 --- /dev/null +++ b/dev-db/postgresql/files/digest-postgresql-7.3.2 @@ -0,0 +1 @@ +MD5 23d2762571e8c5bb21eee08aab968ccb postgresql-7.3.2.tar.gz 11194355 |