forked from ISTI-ansible-roles/ansible-roles
library/roles/ckan: Add a variable to store the supervisor fetch and gather app names.
d4science-ghn-cluster/roles/ckan: Add a handler to restart the gather and fetcher processes. See https://support.d4science.org/issues/7028
This commit is contained in:
parent
1d67e721d0
commit
70d8e79776
|
@ -146,3 +146,7 @@ ckan_production_ini_plugins_opts:
|
|||
|
||||
ckan_gather_fetch_pkgs:
|
||||
- supervisor
|
||||
|
||||
ckan_gather_fetch_apps:
|
||||
- ckan_gather_consumer
|
||||
- ckan_fetch_consumer
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
command={{ ckan_virtenv }}/bin/paster --plugin=ckanext-harvest harvester gather_consumer --config={{ ckan_config_file }}
|
||||
|
||||
; user that owns virtual environment.
|
||||
user=ckan
|
||||
user={{ ckan_shell_user }}
|
||||
|
||||
numprocs=1
|
||||
stdout_logfile={{ ckan_logdir }}/gather_consumer.log
|
||||
|
|
Loading…
Reference in New Issue