Still testing with new approach and new/modified script:
1. script 'fix-service-list' --> to fix 'real' services like 'php branch' listing on 'webserver config'
2. script 'mysql-convert' --> also checking mysql.servers table exists or not; if not exist will be create; importance when switch from mysql 5.0.x to 5.1.x+
3. script 'fix-qmail-assign' --> remove qmail/qmail-toaster will be make 'users assign' delete or rename and then can not access to mail server (wrong password); update from Kloxo Official to Kloxo-MR need step to remove qmail and then install qmail-toaster. Sadly, no facility for 'assign restore' from vpopmail/vpopmail-toaster except delete domain and then create. With this script, 'users assign' create again
4. Add mechanism for restart service --> before restart service (say it, httpd), kloxo check content of '/usr/local/lxlabs/kloxo/etc/restart/httpd'. If exist, kloxo will execute content of this file.
Example:
- Original/old restart process execute '/etc/init.d/httpd restart'
- Content of '/usr/local/lxlabs/kloxo/etc/restart/httpd' is '/etc/init.d/httpd graceful' and that mean Kloxo execute '/etc/init.d/httpd graceful' instead '/etc/init.d/httpd restart'
So, if someone want another process just changing content of '/usr/local/lxlabs/kloxo/etc/restart/httpd' to (for example) '/etc/init.d/httpd reload'