Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 498822 Details for
Bug 634414
www-servers/apache should provide a way to pass commands to apache with CLI similar to the one composed by /etc/init.d/apache2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Proposed fix to apache2ctl enabling described behavior
apache2ctl (text/plain), 830 bytes, created by
Joona Hoikkala
on 2017-10-16 06:57:57 UTC
(
hide
)
Description:
Proposed fix to apache2ctl enabling described behavior
Filename:
MIME Type:
Creator:
Joona Hoikkala
Created:
2017-10-16 06:57:57 UTC
Size:
830 bytes
patch
obsolete
>#!/bin/sh >APACHE2="/usr/sbin/apache2" >APACHE_OPTS="" >APACHE_RC_CONF="/etc/conf.d/apache2" ># List of init script verbs that should be passed forward >RC_VERBS="start stop restart checkconfd configtest modules virtualhosts configdump fullstatus graceful gracefulstop reload" > >function load_rc_config >{ > [ ! -f "$APACHE_RC_CONF" ] && return > . $APACHE_RC_CONF > export ${!APACHE2_*} > export SERVERROOT="${SERVERROOT:-/usr/lib64/apache2}" > export CONFIGFILE="${CONFIGFILE:-/etc/apache2/httpd.conf}" > >} > > >load_rc_config > ># If first parameter is a verb defined in $RC_VERBS, pass the command to init script. ># In other cases, compile command line and run the command on apache binary. >[[ "$RC_VERBS" =~ "$1" ]] && \ > exec /etc/init.d/apache2 "$@" \ > || \ > ${APACHE2} ${APACHE2_OPTS} -d ${SERVERROOT} -f ${CONFIGFILE} "$@"
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 634414
: 498822 |
520254