blob: 1eb9d3d4439378870000c2f60e786140127a875b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool/files/pgpool.init,v 1.3 2004/07/14 21:41:38 agriffis Exp $
depend() {
need net
use postgresql
}
start() {
ebegin "Starting pgpool"
start-stop-daemon --start --quiet --exec /usr/bin/pgpool
result=$?
eend $result
}
stop() {
ebegin "Stopping pgpool"
start-stop-daemon --stop --quiet --pidfile /var/run/pgpool.pid
result=$?
eend $result
}
|