diff options
-rw-r--r-- | config/haproxy1_5/pkg/haproxy.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/haproxy1_5/pkg/haproxy.inc b/config/haproxy1_5/pkg/haproxy.inc index 5e554ffc..f539cff5 100644 --- a/config/haproxy1_5/pkg/haproxy.inc +++ b/config/haproxy1_5/pkg/haproxy.inc @@ -1647,6 +1647,8 @@ function haproxy_check_run($reload) { $useocsp = haproxy_uses_ocsp(); if ($useocsp == "true") { install_cron_job("/etc/rc.haproxy_ocsp.sh", true, "*/120"); + } else { + install_cron_job("/etc/rc.haproxy_ocsp.sh", false); } } |