RA apache: a major update (closes Bug 1357)
- OCF_RESKEY_testregex: a new parameter
- HTTPDLIST updated to include /usr/sbin/apache and /usr/sbin/apache2
- add '-L' to WGETOPTS
- parsing in awk instead of shell (faster and makes 'sh -x' usable again)
- updated the parser to support the latest apache Include (directories, shell patterns)
- fix a bug triggered if the Listen directive contains only port (the monitor operation)
- the start operation waits indefinitely until the apache really starts; a monitor operation is used to check it; NB: it typically makes at least one loop, thus making the start last for at least a second; the reasoning: user should specify how long a start operation may take
- replace return with exit in the main (i.e. outside of functions)
--HG--
extra : convert_revision : 8f68fd78369baeab64f26419f24ed3649a6b6172