Mantis - apache2
Viewing Issue Advanced Details
4793 regular use tweak always 2011-06-24 01:33 2011-09-07 02:27
AirOnSkin  
bwalton  
normal  
closed  
fixed  
none    
none  
0004793: Apache2 init script doesn't support use of different config file
The OpenCSW Apache2 init script under /etc/opt/csw/init.d/cswapache2 does not support starting the server with a different config file defined with variable CONF_FILE.

The CONF_FILE variable is only used to test if the apache config exists and is a regular file.

Editing the last line in the script and changing it from:
exec $APACHECTL -k $cmd 2>&1
to
exec $APACHECTL -f $CONF_FILE -k $cmd 2>&1

solves the problem.
has duplicate 0003773closed bwalton svc method script does not use config file variable 
Issue History
2011-06-24 01:33 AirOnSkin New Issue
2011-06-24 02:51 bwalton Status new => assigned
2011-06-24 02:51 bwalton Assigned To => bwalton
2011-06-24 02:52 bwalton Note Added: 0009134
2011-07-03 23:23 bwalton Relationship added has duplicate 0003773
2011-07-04 03:08 bwalton Note Added: 0009179
2011-09-07 02:27 bwalton Note Added: 0009251
2011-09-07 02:27 bwalton Status assigned => closed
2011-09-07 02:27 bwalton Resolution open => fixed

Notes
(0009134)
bwalton   
2011-06-24 02:52   
Change committed. I'll work to get some test packages ready...

Thanks
-Ben
(0009179)
bwalton   
2011-07-04 03:08   
Test packages available here: http://buildfarm.opencsw.org/experimental.html#apache2 [^]
(0009251)
bwalton   
2011-09-07 02:27   
Update pushed for release.