fix for new php
This commit is contained in:
parent
1b085776fe
commit
ef804febe0
@ -6,11 +6,11 @@ if ( !file_exists("/opt/bgpblist/etc/config.ini") ) {
|
||||
echo "INFO: file created, edit it before next start\n";
|
||||
die();
|
||||
}
|
||||
logtofile("PROCESS_START");
|
||||
$conf=parse_ini_file("/opt/bgpblist/etc/config.ini",TRUE);
|
||||
$customer=$conf["customer"]["cust_uuid"];
|
||||
$logfile=$conf["syslog"]["logfile"];
|
||||
declare(ticks = 1);
|
||||
logtofile("PROCESS_START");
|
||||
pcntl_signal(SIGINT,"sig_handler");
|
||||
pcntl_signal(SIGTERM,"sig_handler");
|
||||
pcntl_signal(SIGHUP,"sig_handler");
|
||||
|
Loading…
Reference in New Issue
Block a user