From f482eb607c51b9f15ce03a43ff5414fb32b090c0 Mon Sep 17 00:00:00 2001 From: Ian Murray Date: Thu, 16 Feb 2012 21:08:00 +0000 Subject: [PATCH] [master][doc] Revert inclusion of external file as github doesn't support it. This partially reverts commit 0aa7b7d1996683f47de060a6247128c91428a2a0. --- README.rst | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 77493db..b6143e1 100644 --- a/README.rst +++ b/README.rst @@ -363,7 +363,39 @@ following steps with the one you are using. Create a file named `/etc/supervisor/conf.d/ckan_harvesting.conf`, and copy the following contents:: - .. include:: config/supervisor/ckan_harvesting.conf + + ; =============================== + ; ckan harvester + ; =============================== + + [program:ckan_gather_consumer] + + command=/var/lib/ckan/std/pyenv/bin/paster --plugin=ckanext-harvest harvester gather_consumer --config=/etc/ckan/std/std.ini + + ; user that owns virtual environment. + user=okfn + + numprocs=1 + stdout_logfile=/var/log/ckan/std/gather_consumer.log + stderr_logfile=/var/log/ckan/std/gather_consumer.log + autostart=true + autorestart=true + startsecs=10 + + [program:ckan_fetch_consumer] + + command=/var/lib/ckan/std/pyenv/bin/paster --plugin=ckanext-harvest harvester fetch_consumer --config=/etc/ckan/std/std.ini + + ; user that owns virtual environment. + user=okfn + + numprocs=1 + stdout_logfile=/var/log/ckan/std/fetch_consumer.log + stderr_logfile=/var/log/ckan/std/fetch_consumer.log + autostart=true + autorestart=true + startsecs=10 + There are a number of things that you will need to replace with your specific installation settings (the example above shows paths from a