Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 88633 Details for
Bug 136025
haproxy-1.2.14.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init script to be placed in the ebuild's files directory
init-1.2 (text/plain), 750 bytes, created by
Greg McIntyre
on 2006-06-07 22:00:06 UTC
(
hide
)
Description:
init script to be placed in the ebuild's files directory
Filename:
MIME Type:
Creator:
Greg McIntyre
Created:
2006-06-07 22:00:06 UTC
Size:
750 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >HAPROXY=/usr/bin/haproxy >HAPROXY_CONF=/etc/haproxy/haproxy.cfg >HAPROXY_PID=/var/run/haproxy.pid > >checkconfig() { > if [[ ! -f ${HAPROXY_CONF} ]] ; then > ewarn "${HAPROXY_CONF} does not exist." > return 1 > fi > ${HAPROXY} -c -f ${HAPROXY_CONF} >/dev/null >} > >depend() { > need net > use dns logger >} > >start() { > checkconfig || return 1 > > ebegin "Starting haproxy" > start-stop-daemon --start --quiet --pidfile ${HAPROXY_PID} \ > --exec ${HAPROXY} \ > -- -D -p ${HAPROXY_PID} -f ${HAPROXY_CONF} > eend ${?} >} > >stop() { > ebegin "Stopping haproxy" > start-stop-daemon --stop --quiet --pidfile ${HAPROXY_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 136025
:
88632
| 88633 |
88634