Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 341882 Details for
Bug 217868
dev-db/slony1 - have init.d/conf.d support more than one cluster
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init.d file
slony1.initd (text/plain), 899 bytes, created by
Oleg Gawriloff
on 2013-03-13 11:08:54 UTC
(
hide
)
Description:
init.d file
Filename:
MIME Type:
Creator:
Oleg Gawriloff
Created:
2013-03-13 11:08:54 UTC
Size:
899 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 $ > >depend() { > need postgresql >} > >start() { > ebegin "Starting slony1 (${SVCNAME})" > if [[ -f /etc/slony1/${SVCNAME}.conf ]]; then > start-stop-daemon --start --quiet --pidfile /var/run/${SVCNAME}.pid -u slony1:postgres -m -b \ > --exec /bin/bash -- -c "exec /usr/bin/slon -f /etc/slony1/${SVCNAME}.conf >> /var/log/slony1/slony1.log 2>&1" > eend $? > else > eend 1 "Config file /etc/slony1/${SVCNAME}.conf does not exist" > fi >} > >stop() { > ebegin "Stopping slony1 (${SVCNAME})" > start-stop-daemon --stop --quiet --exec /usr/bin/slon --pidfile /var/run/${SVCNAME}.pid > 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 217868
:
150179
|
341880
| 341882