Project

General

Profile

« Previous | Next » 

Revision dca795b7

Added by Renato Botelho almost 11 years ago

Use cron.pid to get pid number and avoid kill minicron processes. It fixes #3757

View differences:

etc/inc/services.inc
2274 2274
	unset($crontab_contents);
2275 2275

  
2276 2276
	/* do a HUP kill to force sync changes */
2277
	exec('/bin/pkill -HUP cron');
2277
	sigkillbypid("{$g['varrun_path']}/cron.pid", "HUP");
2278 2278

  
2279 2279
	conf_mount_ro();
2280 2280
}

Also available in: Unified diff