OpenCSW Bug Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004793 [apache2] regular use tweak always 2011-06-24 01:33 2011-09-07 02:27
Reporter AirOnSkin View Status public  
Assigned To bwalton
Priority normal Resolution fixed  
Status closed  
Summary 0004793: Apache2 init script doesn't support use of different config file
Description 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
exec $APACHECTL -f $CONF_FILE -k $cmd 2>&1

solves the problem.
Additional Information
Tags No tags attached.
Attached Files

- Relationships
has duplicate 0003773closedbwalton svc method script does not use config file variable 

-  Notes
bwalton (administrator)
2011-06-24 02:52

Change committed. I'll work to get some test packages ready...

bwalton (administrator)
2011-07-04 03:08

Test packages available here: [^]
bwalton (administrator)
2011-09-07 02:27

Update pushed for release.

Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker