0005-debian_config_common-document-option-DISABLE_CRON_JO.patch
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 |
- |