Projet

Général

Profil

0005-debian_config_common-document-option-DISABLE_CRON_JO.patch

Christophe Siraut, 16 avril 2018 16:21

Télécharger (1,03 ko)

Voir les différences:

Subject: [PATCH 5/5] debian_config_common: document option DISABLE_CRON_JOBS

 debian/debian_config_common.py | 6 ++++++
 1 file changed, 6 insertions(+)
debian/debian_config_common.py
8 8
# execfile('/usr/lib/hoho/debian_config_common.py')
9 9
# execfile('/etc/%s/settings.py' % PROJECT_NAME)
10 10

  
11
# For high availability installations with multiple instances of Publik
12
# components, one should disable cron jobs execution on secondary servers;
13
# set the following line in your /etc/component/settings.d/ disables all
14
# tenant_commands launched with option "--all-tenants".
15
# DISABLE_CRON_JOBS = True
16

  
11 17
import os
12 18
from django.conf import global_settings
13 19
from django.core.exceptions import ImproperlyConfigured
14
-