[SOLVED] 2.1.5 pruner jobs being killed
-
I periodically and apparently at random have to restart a captive portal pruner job or two. Does this patch fix that?
diff –git a/etc/inc/services.inc b/etc/inc/services.inc
index c0ce84c..ef78513 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -2162,7 +2162,7 @@ function configure_cron() {
unset($crontab_contents);/* do a HUP kill to force sync changes */
- exec('/bin/pkill -HUP cron');
- sigkillbypid("{$g['varrun_path']}/cron.pid", "HUP");
conf_mount_ro();
} -
Nevermind. It's https://redmine.pfsense.org/issues/3757. Looks like this is the ticket.
-
Ah ….
I remember that one ;)
But was was a year (two ?) ago.