Example #1
0
     die;
 }
 $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[] = privoxy();
 $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();
Example #2
0
    bandwidthd();
    exit;
}
if ($argv[1] == "--proftpd") {
    $GLOBALS["OUTPUT"] = true;
    proftpd();
    exit;
}
if ($argv[1] == "--clamav-milter") {
    $GLOBALS["OUTPUT"] = true;
    clamav_milter();
    exit;
}
if ($argv[1] == "--privoxy") {
    $GLOBALS["OUTPUT"] = true;
    privoxy();
    exit;
}
if ($argv[1] == "--valvuad") {
    $GLOBALS["OUTPUT"] = true;
    valvuad();
    exit;
}
if ($argv[1] == "--squid-stats-central") {
    $GLOBALS["OUTPUT"] = true;
    squid_stats_central();
    exit;
}
if ($argv[1] == "--wifidog") {
    $GLOBALS["OUTPUT"] = true;
    wifidog();