function compile_progress() { $unix = new unix(); build_progress(10, "{build_init_script}"); initScriptDebian(); etc_default(); build_progress(15, "{configure}"); ParseMimeDefangFilter(); build_progress(50, "{restarting_artica_status}"); system("/etc/init.d/artica-status restart --force"); build_progress(50, "{stopping_service}"); system("/etc/init.d/mimedefang stop"); build_progress(80, "{starting_service}"); system("/etc/init.d/mimedefang start"); build_progress(90, "{reconfigure_mta}"); $php = $unix->LOCATE_PHP5_BIN(); system("{$php} /usr/share/artica-postfix/exec.postfix.maincf.php --milters"); build_progress(100, "{done}"); }
function start() { initScriptDebian(); etc_default(); ParseMimeDefangFilter(); }