Project

General

Profile

« Previous | Next » 

Revision 63356262

Added by Ermal LUÇI about 12 years ago

Resolves #2910. Make apinger write its status file just after starting so that thing work as expected

View differences:

etc/inc/gwlb.inc
252 252
	@unlink("{$g['varrun_path']}/apinger.status");
253 253
	sleep(1);
254 254
	mwexec_bg("/usr/local/sbin/apinger -c {$g['varetc_path']}/apinger.conf");
255
	sleep(1);
256
	sigkillbypid("{$g['varrun_path']}/apinger.pid", "USR1");
255 257

  
256 258
	return 0;
257 259
}

Also available in: Unified diff