diff --git a/ckan/ckan/defaults/main.yml b/ckan/ckan/defaults/main.yml index 0102481a..71cae24d 100644 --- a/ckan/ckan/defaults/main.yml +++ b/ckan/ckan/defaults/main.yml @@ -146,3 +146,7 @@ ckan_production_ini_plugins_opts: ckan_gather_fetch_pkgs: - supervisor + +ckan_gather_fetch_apps: + - ckan_gather_consumer + - ckan_fetch_consumer diff --git a/ckan/ckan/templates/ckan_harvesting.conf.j2 b/ckan/ckan/templates/ckan_harvesting.conf.j2 index d050b836..0cb77084 100644 --- a/ckan/ckan/templates/ckan_harvesting.conf.j2 +++ b/ckan/ckan/templates/ckan_harvesting.conf.j2 @@ -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