Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317202 Details for
Bug 424826
www-servers/thttpd-2.26.2 - Multi-instance enhancement and stable start with autofs of the init-script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
enhanced init-script
thttpd.init (text/plain), 734 bytes, created by
Kola Bernard
on 2012-07-05 03:18:26 UTC
(
hide
)
Description:
enhanced init-script
Filename:
MIME Type:
Creator:
Kola Bernard
Created:
2012-07-05 03:18:26 UTC
Size:
734 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License, v3 or later > >depend() { > need net > use dns logger netmount > after sshd >} > >checkconfig() { > if [ ! -d "$THTTPD_DOCROOT" ]; then > eend 1 "THTTPD_DOCROOT not set correctly in /etc/conf.d/${SVCNAME}" > fi >} > >start() { > ebegin "Starting ${SVCNAME}" > > checkconfig || return 1 > > start-stop-daemon --quiet --start --exec /usr/sbin/thttpd \ > --pidfile /var/run/${SVCNAME}.pid --chdir "$THTTPD_DOCROOT" -- \ > -i /var/run/${SVCNAME}.pid \ > -l /var/log/${SVCNAME}.log \ > ${THTTPD_OPTS} > eend $? >} > >stop() { > ebegin "Stopping ${SVCNAME}" > start-stop-daemon --quiet --stop --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 424826
:
317200
|
317202
|
317338