Example #1
0
    ntopng();
    redis_server();
    exit;
}
if ($argv[1] == "--squid-stream") {
    squidstream();
    squidstream_scheduler();
    exit;
}
if ($argv[1] == "--zipproxy") {
    zipproxy();
    exit;
}
if ($argv[1] == "--squid-db") {
    $GLOBALS["OUTPUT"] = true;
    squid_db();
    exit;
}
if ($argv[1] == "--iredmail") {
    $GLOBALS["OUTPUT"] = true;
    iredmail();
    exit;
}
if ($argv[1] == "--sarg") {
    $GLOBALS["OUTPUT"] = true;
    sarg();
    exit;
}
if ($argv[1] == "--squid-stats-central") {
    $GLOBALS["OUTPUT"] = true;
    squid_stats_central();
Example #2
0
 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();
 $conf[] = hotspot_web();
 $conf[] = hotspot_fw();
 $conf[] = squid_nat();