Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 299075 Details for
Bug 399097
dev-db/slony1 is installed for a single postgresql slot
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
SLOTed slony1 init file
slony1.init (text/plain), 760 bytes, created by
Vincent de Phily
on 2012-01-16 16:58:13 UTC
(
hide
)
Description:
SLOTed slony1 init file
Filename:
MIME Type:
Creator:
Vincent de Phily
Created:
2012-01-16 16:58:13 UTC
Size:
760 bytes
patch
obsolete
>#!/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/slony1/files/slony1.init,v 1.2 2007/03/07 23:18:21 nakano Exp $ > >pidfile=/var/run/slony1-{SLOT}.pid > >depend() { > need postgresql-{SLOT} >} > >start() { > ebegin "Starting slony1-{SLOT}" > /usr/lib/slony1-{SLOT}/bin/slon -p $pidfile -d $LOGLEVEL $CLUSTER "dbname=$DBNAME user=$DBUSER host=$DBHOST" >> $LOGFILE 2>&1 & > > while : > do > cnt=$(($cnt + 1)) > if [ -f $pidfile ]; then > ret=0 > break > fi > > if [ $cnt -eq 30 ]; then > eerror "Please see log file: $LOGFILE" > ret=1 > break > fi > sleep 1 > done > eend $ret >} > >stop() { > ebegin "Stopping slony1-{SLOT}" > kill `cat $pidfile` > eend $? >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 399097
:
299073
| 299075 |
299077