0001-agent-use-commoncode-to-deploy-passerelle-instances-.patch
hobo/agent/services.py | ||
---|---|---|
60 | 60 | |
61 | 61 |
class Passerelle(BaseService): |
62 | 62 |
service_id = 'passerelle' |
63 |
service_settings_env = 'PASSERELLE_SETTINGS_FILE' |
|
64 |
service_manage_cmd = settings.PASSERELLE_MANAGE_COMMAND |
|
65 |
service_settings_file = settings.PASSERELLE_SETTINGS_FILE |
|
63 | 66 | |
64 | 67 | |
65 | 68 |
class Wcs(BaseService): |
hobo/settings.py | ||
---|---|---|
134 | 134 |
COMBO_SETTINGS_FILE = '/etc/combo/settings.py' |
135 | 135 |
COMBO_MANAGE_COMMAND = '/usr/lib/combo/manage.py' |
136 | 136 | |
137 |
PASSERELLE_SETTINGS_FILE = '/etc/passerelle/settings.py' |
|
138 |
PASSERELLE_MANAGE_COMMAND = '/usr/lib/passerelle/manage.py' |
|
139 | ||
137 | 140 |
try: |
138 | 141 |
from kombu.common import Broadcast |
139 | 142 |
CELERY_ACCEPT_CONTENT = ['json'] |
140 |
- |