コード例 #1
0
ファイル: exec.initslapd.php プロジェクト: brucewu16899/1.6.x
    exit;
}
if ($argv[1] == "--shorewall-db") {
    shorewall_db();
    exit;
}
if ($argv[1] == "--snmpd") {
    snmpd();
    exit;
}
if ($argv[1] == "--haproxy") {
    haproxy();
    exit;
}
if ($argv[1] == "--saslauthd") {
    saslauthd();
    exit;
}
if ($argv[1] == "--webservices") {
    webservices();
    exit;
}
if ($argv[1] == "--opendkim") {
    opendkim();
    exit;
}
if ($argv[1] == "--squid-nat") {
    squidnat();
    exit;
}
if ($argv[1] == "--ntopng") {
コード例 #2
0
ファイル: exec.status.php プロジェクト: rsd/artica-1.5
	die();
}
if($argv[1]=="--free"){echo getmem();exit;}
if($argv[1]=="--squid"){echo squid_master_status();exit;}
if($argv[1]=="--c-icap"){echo c_icap_master_status();exit;}
if($argv[1]=="--kav4proxy"){echo kav4Proxy_status();exit;}
if($argv[1]=="--dansguardian"){echo dansguardian_master_status();exit;}
if($argv[1]=="--wifi"){echo wpa_supplicant();;exit;}
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;}
コード例 #3
0
    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") {