Tutorials Performing a Webconfig Restart on Install
In some circumstances, it may be necessary to restart webconfig after installing an app, notably for:
Since the installation process is started via webconfig's Marketplace, the act of restarting webconfig will stop the install process. Chicken, meet egg!
Solution: Asynchronous Restart
In order to get around the webconfig restart issue, a ClearOS event (using clearsync) monitors two directories for changes:
For example, when the MySQL module for PHP (webconfig-php-mysql) is installed, the /usr/clearos/sandbox/etc/php.d/mysql.ini is added. The ClearOS event detects the change and then waits for the install to complete before it restarts webconfig.