| | |
| | | if($reconfigure_services_answer == 'yes') { |
| | | //** Configure postfix |
| | | $inst->configure_postfix('dont-create-certs'); |
| | | |
| | | |
| | | //* Configure postfix |
| | | swriteln('Configuring Jailkit'); |
| | | $inst->configure_jailkit(); |
| | | |
| | | //** Configure saslauthd |
| | | swriteln('Configuring SASL'); |
| | | $inst->configure_saslauthd(); |
| | |
| | | |
| | | //** Configure ISPConfig |
| | | swriteln('Updating ISPConfig'); |
| | | |
| | | |
| | | //** Customise the port ISPConfig runs on |
| | | $inst->conf['apache']['vhost_port'] = $inst->free_query('ISPConfig Port', '8080'); |
| | | |
| | | $inst->install_ispconfig(); |
| | | |
| | | //** Configure Crontab |
| | | $update_crontab_answer = $inst->simple_query('Reconfigure Services?', array('yes','no'),'yes'); |
| | | $update_crontab_answer = $inst->simple_query('Reconfigure Crontab?', array('yes','no'),'yes'); |
| | | if($update_crontab_answer == 'yes') { |
| | | swriteln('Updating Crontab'); |
| | | $inst->install_crontab(); |