Exemple #1
0
    exit;
}
if ($argv[1] == "--boa") {
    echo "\n" . boa();
    exit;
}
if ($argv[1] == "--lighttpd") {
    echo "\n" . lighttpd();
    exit;
}
if ($argv[1] == "--fcron") {
    echo "\n" . fcron1() . "\n" . fcron2();
    exit;
}
if ($argv[1] == "--clamav") {
    echo "\n" . clamd() . "\n" . clamscan() . "\n" . clammilter() . "\n" . freshclam();
    exit;
}
if ($argv[1] == "--retranslator") {
    echo "\n" . retranslator_httpd();
    exit;
}
if ($argv[1] == "--spamassassin") {
    echo spamassassin_milter() . "\n" . spamassassin();
    exit;
}
if ($argv[1] == "--postfix") {
    echo "\n" . postfix();
    exit;
}
if ($argv[1] == "--postfix-logger") {
Exemple #2
0
if($argv[1]=="--fetchmail"){echo fetchmail();;exit;}
if($argv[1]=="--milter-greylist"){echo milter_greylist();;exit;}
if($argv[1]=="--framework"){echo framework();;exit;}
if($argv[1]=="--pdns"){echo pdns_server()."\n".pdns_recursor();exit;}
if($argv[1]=="--cyrus-imap"){echo cyrus_imap();exit;}
if($argv[1]=="--mysql"){echo "\n".mysql_server()."\n".mysql_mgmt()."\n". mysql_replica();exit;}
if($argv[1]=="--openldap"){echo "\n".openldap();;exit;}
if($argv[1]=="--saslauthd"){echo "\n".saslauthd();;exit;}
if($argv[1]=="--sysloger"){echo "\n".syslogger();;exit;}
if($argv[1]=="--squid-tail"){echo "\n".squid_tail();;exit;}
if($argv[1]=="--amavis"){echo "\n".amavis();exit;}
if($argv[1]=="--amavis-milter"){echo"\n". amavis_milter();exit;}
if($argv[1]=="--boa"){echo"\n". boa();exit;}
if($argv[1]=="--lighttpd"){echo"\n". lighttpd();exit;}
if($argv[1]=="--fcron"){echo"\n". fcron1()."\n".fcron2(); exit;}
if($argv[1]=="--clamav"){echo"\n". clamd()."\n".clamscan()."\n".clammilter()."\n".freshclam(); exit;}
if($argv[1]=="--retranslator"){echo"\n". retranslator_httpd(); exit;}
if($argv[1]=="--spamassassin"){echo spamassassin_milter()."\n".spamassassin();exit;}
if($argv[1]=="--postfix"){echo "\n".postfix();exit;}
if($argv[1]=="--postfix-logger"){echo "\n".postfix_logger();exit;}
if($argv[1]=="--mailman"){echo "\n".mailman();exit;}
if($argv[1]=="--kas3"){echo "\n".kas3_milter()."\n".kas3_ap(); exit;}
if($argv[1]=="--samba"){echo "\n".smbd()."\n".nmbd()."\n".winbindd()."\n".scanned_only()."\n"; exit;}
if($argv[1]=="--roundcube"){echo "\n".roundcube();exit;}
if($argv[1]=="--cups"){echo "\n".cups();exit;}
if($argv[1]=="--apache-groupware"){echo "\n".apache_groupware();exit;}
if($argv[1]=="--gdm"){echo "\n".gdm();exit;}
if($argv[1]=="--console-kit"){echo "\n".consolekit();exit;}
if($argv[1]=="--xfce"){echo "\n".xfce();exit;}
if($argv[1]=="--vmtools"){echo "\n".vmtools();exit;}
if($argv[1]=="--hamachi"){echo "\n".hamachi();exit;}
Exemple #3
0
 $cachefile = "/usr/share/artica-postfix/ressources/databases/ALL_SQUID_STATUS";
 $GLOBALS["DISABLE_WATCHDOG"] = true;
 $TimeFile = $cachefile;
 if ($GLOBALS["SCHEDULE_ID"] > 0) {
     if ($unix->file_time_min($TimeFile) > 5) {
         $php = $unix->LOCATE_PHP5_BIN();
         $nohup = $unix->find_program("nohup");
         shell_exec2("{$nohup} {$php} /usr/share/artica-postfix/exec.squid.run.schedules.php >/dev/null 2>&1 &");
     }
 }
 $conf[] = squid_master_status(true);
 $conf[] = kav4Proxy_status();
 $conf[] = proxy_pac_status();
 $conf[] = squidguardweb();
 $conf[] = ufdbguardd();
 $conf[] = freshclam();
 $conf[] = articadb();
 $conf[] = winbindd();
 $conf[] = squid_db();
 $conf[] = haarp();
 $conf[] = nginx();
 $conf[] = ftp_proxy();
 $conf[] = c_icap_master_status();
 $conf[] = cntlm();
 $conf[] = cntlm_parent();
 $conf[] = rdpproxy_authhook();
 $conf[] = rdpproxy();
 $conf[] = clamd();
 $conf[] = dnsmasq();
 $conf[] = ufdbguardd_client();
 $conf[] = ucarp();