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 | 5e17a78e93e68741aa9a8067c28712a2a4716254 (patch) | |
tree | 8daf3d4f35894d53a7cf4207ae475fbe1893d072 /dev-db/postgresql/files | |
parent | touchups to fix #16567 (diff) | |
download | historical-5e17a78e93e68741aa9a8067c28712a2a4716254.tar.gz historical-5e17a78e93e68741aa9a8067c28712a2a4716254.tar.bz2 historical-5e17a78e93e68741aa9a8067c28712a2a4716254.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 |