HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   How do I force IPSConfig to regenerate all configuration files? (http://www.howtoforge.com/forums/showthread.php?t=19397)

tensor 13th January 2008 00:55

How do I force IPSConfig to regenerate all configuration files?
 
When experimenting with ISPConfig sources I need a way to generate this or that configuration file. How do I do that without going into control panel and change something?
How to force to regenerate all configuration files for manged services such as apache2, ftp server, bind, etc.?

till 13th January 2008 10:28

If you want to update for example all websites, execute the following SQL staement in the database:

UPDATE isp_isp_web SET status = 'u' WHERE status = '';

Then execute:

/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php

This works with all isp_isp_* tables and the dns_isp_dns table that have a 'status' column.


All times are GMT +2. The time now is 16:14.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.