Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 42891
Collapse All | Expand All

(-)/usr/portage/dev-db/postgresql/files/postgresql.init-7.4.1 (+8 lines)
Lines 3-8 Link Here
3
# Distributed under the terms of the GNU General Public License v2
3
# Distributed under the terms of the GNU General Public License v2
4
# $Header: /home/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.4.1,v 1.2 2004/02/13 19:26:32 vapier Exp $
4
# $Header: /home/cvsroot/gentoo-x86/dev-db/postgresql/files/postgresql.init-7.4.1,v 1.2 2004/02/13 19:26:32 vapier Exp $
5
5
6
opts="${opts} reload"
7
6
depend() {
8
depend() {
7
	use net
9
	use net
8
}
10
}
Lines 53-55 Link Here
53
	su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
55
	su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'"
54
	eend $?
56
	eend $?
55
}
57
}
58
59
reload() {
60
	ebegin "Reloading postgres configuration"
61
	su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s"
62
	eend $?
63
}

Return to bug 42891