summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-13 19:26:51 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-13 19:26:51 +0000
commit88a11e9dd857de68675028163096dcf7102947a1 (patch)
tree1bee3256e55d9474ce6911bfad1ae24e73e91e36 /dev-db
parentlicense update (diff)
downloadgentoo-2-88a11e9dd857de68675028163096dcf7102947a1.tar.gz
gentoo-2-88a11e9dd857de68675028163096dcf7102947a1.tar.bz2
gentoo-2-88a11e9dd857de68675028163096dcf7102947a1.zip
update license
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mysql/files/mysql.init6
-rw-r--r--dev-db/pgpool/files/pgpool.init6
-rw-r--r--dev-db/postgresql/files/pg_autovacuum.init-7.4.110
-rw-r--r--dev-db/postgresql/files/postgresql.init15
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.3.412
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.3.512
-rw-r--r--dev-db/postgresql/files/postgresql.init-7.4.112
7 files changed, 36 insertions, 37 deletions
diff --git a/dev-db/mysql/files/mysql.init b/dev-db/mysql/files/mysql.init
index 8b636a0b1fdb..61157e404912 100644
--- a/dev-db/mysql/files/mysql.init
+++ b/dev-db/mysql/files/mysql.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/mysql.init,v 1.5 2003/04/22 10:00:18 robbat2 Exp $
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/mysql.init,v 1.6 2004/02/13 19:23:39 vapier Exp $
depend() {
need net
diff --git a/dev-db/pgpool/files/pgpool.init b/dev-db/pgpool/files/pgpool.init
index 81d791c55e58..cebcbed06c65 100644
--- a/dev-db/pgpool/files/pgpool.init
+++ b/dev-db/pgpool/files/pgpool.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool/files/pgpool.init,v 1.1 2003/10/13 00:21:25 nakano Exp $
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool/files/pgpool.init,v 1.2 2004/02/13 19:24:02 vapier Exp $
depend() {
need net
diff --git a/dev-db/postgresql/files/pg_autovacuum.init-7.4.1 b/dev-db/postgresql/files/pg_autovacuum.init-7.4.1
index 7014e79e5eb0..a6aad40beded 100644
--- a/dev-db/postgresql/files/pg_autovacuum.init-7.4.1
+++ b/dev-db/postgresql/files/pg_autovacuum.init-7.4.1
@@ -1,13 +1,13 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-7.4.1,v 1.1 2003/12/25 04:39:37 nakano Exp $
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/pg_autovacuum.init-7.4.1,v 1.2 2004/02/13 19:26:51 vapier Exp $
depend() {
need postgresql logger
}
-start() {
+start() {
ebegin "Starting pg_autovacuum"
start-stop-daemon --chuid $PGUSER --start --quiet --exec /usr/bin/pg_autovacuum -- -D -v $VACUUM_BASE -V $VACUUM_SCALE -s $SLEEP_BASE -S $SLEEP_SCALE -L $PG_AUTOVACUUM_LOG
sleep 1
@@ -25,7 +25,7 @@ start() {
fi
}
-stop () {
+stop() {
ebegin "Stopping pg_autovacuum"
start-stop-daemon --stop --quiet --exec /usr/bin/pg_autovacuum
result=$?
diff --git a/dev-db/postgresql/files/postgresql.init b/dev-db/postgresql/files/postgresql.init
index 907a1062e34d..3e47fc650dab 100644
--- a/dev-db/postgresql/files/postgresql.init
+++ b/dev-db/postgresql/files/postgresql.init
@@ -1,7 +1,7 @@
#!/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
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init,v 1.2 2004/02/13 19:26:31 vapier Exp $
depend() {
need net
@@ -15,8 +15,8 @@ checkconfig() {
fi
}
-start() {
- checkconfig || return 1
+start() {
+ checkconfig || return 1
ebegin "Starting postgres"
if [ -f $PGDATA/postmaster.pid ]; then
@@ -26,15 +26,14 @@ start() {
eend $?
}
-stop () {
+stop() {
ebegin "Stopping postgres"
su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
eend $?
}
-svc_restart () {
+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/postgresql.init-7.3.4 b/dev-db/postgresql/files/postgresql.init-7.3.4
index 9ea516e3e0bb..341d06359309 100644
--- a/dev-db/postgresql/files/postgresql.init-7.3.4
+++ b/dev-db/postgresql/files/postgresql.init-7.3.4
@@ -1,7 +1,7 @@
#!/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
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.3.4,v 1.2 2004/02/13 19:26:32 vapier Exp $
depend() {
need net
@@ -15,7 +15,7 @@ checkconfig() {
fi
}
-start() {
+start() {
checkconfig || return 1
ebegin "Starting postgres"
@@ -42,13 +42,13 @@ start() {
eend $ret
}
-stop () {
+stop() {
ebegin "Stopping postgres"
su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
eend $?
}
-svc_restart () {
+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/postgresql.init-7.3.5 b/dev-db/postgresql/files/postgresql.init-7.3.5
index 9ea516e3e0bb..4979914a691d 100644
--- a/dev-db/postgresql/files/postgresql.init-7.3.5
+++ b/dev-db/postgresql/files/postgresql.init-7.3.5
@@ -1,7 +1,7 @@
#!/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
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.3.5,v 1.2 2004/02/13 19:26:32 vapier Exp $
depend() {
need net
@@ -15,7 +15,7 @@ checkconfig() {
fi
}
-start() {
+start() {
checkconfig || return 1
ebegin "Starting postgres"
@@ -42,13 +42,13 @@ start() {
eend $ret
}
-stop () {
+stop() {
ebegin "Stopping postgres"
su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
eend $?
}
-svc_restart () {
+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/postgresql.init-7.4.1 b/dev-db/postgresql/files/postgresql.init-7.4.1
index f83f754b11a3..74ce7c9fe34a 100644
--- a/dev-db/postgresql/files/postgresql.init-7.4.1
+++ b/dev-db/postgresql/files/postgresql.init-7.4.1
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.4.1,v 1.1 2003/12/25 04:39:37 nakano Exp $
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.4.1,v 1.2 2004/02/13 19:26:32 vapier Exp $
depend() {
use net
@@ -15,7 +15,7 @@ checkconfig() {
fi
}
-start() {
+start() {
checkconfig || return 1
ebegin "Starting postgres"
@@ -42,13 +42,13 @@ start() {
eend $ret
}
-stop () {
+stop() {
ebegin "Stopping postgres"
su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
eend $?
}
-svc_restart () {
+svc_restart() {
ebegin "Restarting postgres"
su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
eend $?