Reconfig.pm


NAME

Communiware::Postprocess::Reconfig - restarts apache after site config changes


SYNOPSIS

        <:Do postpost Reconfig:>


DESCRIPTION

Sometimes Apache needs to be restarted when communiware items of type SERVER are changed. This postprocessor allows to initiate restart from web form.

It relies on cmwctl to perform syntax checks on configuration file to avoid completely shutting down site.

It should be called after transaction is finished for otherwise spawned cmwctl wouldn't see changes made.

16 октябрь 2007 13:45