From 8054a915a13e1f71cbd7ba1abe679e02f84d657e Mon Sep 17 00:00:00 2001 From: Christophe Siraut Date: Mon, 16 Apr 2018 16:20:14 +0200 Subject: [PATCH 5/5] debian_config_common: document option DISABLE_CRON_JOBS --- debian/debian_config_common.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/debian_config_common.py b/debian/debian_config_common.py index a78f263..c60dabd 100644 --- a/debian/debian_config_common.py +++ b/debian/debian_config_common.py @@ -8,6 +8,12 @@ # execfile('/usr/lib/hoho/debian_config_common.py') # execfile('/etc/%s/settings.py' % PROJECT_NAME) +# For high availability installations with multiple instances of Publik +# components, one should disable cron jobs execution on secondary servers; +# set the following line in your /etc/component/settings.d/ disables all +# tenant_commands launched with option "--all-tenants". +# DISABLE_CRON_JOBS = True + import os from django.conf import global_settings from django.core.exceptions import ImproperlyConfigured -- 2.11.0