Various suggested changes to ports/www/apache22/files/apache.sh, including: - Rearranging and tidy up of apache.sh descriptions, including minor alterations to terminology and formatting to make it a little easier to read. - Add configtest to extra_commands to allow testing of configs. Handy command especially when used in conjunction with profiles as apachectl does not support the overriding of a file to test (must use 'httpd -f ... -t' instead). - Add support for apache22 profiles (inspired by www/apache20). - Add apache22_requirepidfile function to check for running process. - Prevent reload/restart when httpd process not running. Required as script execution with reload/restart without running processes actually starts them, without any additional options (like -DNOHTTPACCEPT or profile info). - Force apache22_checkconfig when start issued (config not currently tested on start's, only used on reload and restart). Fix: Diff obtainable from: http://www.netleader.com.au/~jarrod/freebsd/www-apache22-files-apache.sh.diff
Responsible Changed From-To: freebsd-ports-bugs->clement Over to maintainer
Diff located at URL listed in original PR should be used instead of one attached. A slight modification to the handling of the restart command when profiles are used prevents the script from failing when etc/apache22/httpd.conf doesn't exist. Jarrod.
State Changed From-To: open->closed Committed, thanks.