Apache

Tasks for Apache start/stop/restarting apache.

All tasks assume env.CFG_INVENIO_APACHECTL is defined and points to your Apache control script (e.g. /etc/init.d/apache2 or ../apachectl). The script must support the following commands: start, stop, configtest, graceful.

Warning

These tasks are not working locally like the rest Invenio Fabric library.

inveniofab.apache.apache_start

Start Apache

inveniofab.apache.apache_stop

Stop Apache

inveniofab.apache.apache_restart

Restart Apache

The task will first test the configuration and afterwards gracefully restart Apache.