====== Howto regenerate the config files ======
Modifying the template files in parts/ is not enough to apply the modification to existing domains. The config files of the affected services have to be regenerated. The following steps will guide you through the process
\\
===== 1. Stop ispCP daemon =====
# /etc/init.d/ispcp_daemon stop
\\
===== 2. Log into MySQL =====
mysql -u root -p
It will prompt for the password.
\\
===== 3. Set to regenerate =====
In the mysql promtp enter:
USE ispcp;
\\
To regenerate all the domains configs:
UPDATE `domain` SET `domain_status` = 'change' WHERE `domain_status` = 'ok';
To regenerate all the subdomains configs:
UPDATE `subdomain` SET `subdomain_status` = 'change' WHERE `subdomain_status` = 'ok';
To regenerate all the aliases configs:
UPDATE `domain_aliasses` SET `alias_status` = 'change' WHERE `alias_status` = 'ok';
To regenerate all the emails configs:
UPDATE `mail_users` SET `status` = 'change' WHERE `status` = 'ok';
\\
===== 4. Quit mysql =====
quit
\\
===== 5. Process the request =====
# /var/www/ispcp/engine/ispcp-rqst-mngr
\\
===== 6. Start ispCP Daemon =====
# /etc/init.d/ispcp_daemon start