Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 535688 Details for
Bug 657946
www-servers/pound improve init script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pound init script
pound (text/plain), 941 bytes, created by
marco
on 2018-06-12 08:10:09 UTC
(
hide
)
Description:
pound init script
Filename:
MIME Type:
Creator:
marco
Created:
2018-06-12 08:10:09 UTC
Size:
941 bytes
patch
obsolete
>#!/sbin/openrc-run ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >extra_commands="configtest" > >POUND="/usr/sbin/pound" >CONFIGFILE="${CONFIGFILE:-/etc/pound.cfg}" >PIDFILE="${PIDFILE:-/var/run/pound.pid}" >LOGDIR="${LOGDIR:-/var/log/pound}" > >depend() { > need net >} > >configtest() { > ebegin "Checking ${SVCNAME} configuration" > checkconfig > eend $? >} > >checkconfig() { > $POUND -v -c || return 1 > return $? >} > >start() { > ebegin "Starting pound" > if [ ! -f "$CONFIGFILE" ]; then > eend 1 "configfile $CONFIGFILE not found." > fi > > checkpath -d -o ${POUND_USER:=nobody}:${POUND_GROUP:=nobody} -m 0750 $LOGDIR > > checkconfig && start-stop-daemon --quiet --start --exec $POUND -- -f $CONFIGFILE -p $PIDFILE > eend $? >} > >stop() { > if [ "${RC_CMD}" = "restart" ]; then > checkconfig || return 1 > fi > > ebegin "Stopping pound" > start-stop-daemon --quiet --stop --pidfile $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 657946
: 535688