aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2010-07-03 02:02:35 +0000
committerMichael Elkins <melkins@tislabs.com>2010-07-03 02:02:35 +0000
commita6c99d9c0b6e9804fc76081f02268bdea00cc146 (patch)
treed81973b71c204c155763ccc7c2b4c6062673cd09
parent70a8705d949f569d505895776c95aee40fdb48af (diff)
specify that list_resources must be run in the directory containing the self-hosted rpkid's myrpki.conf
svn path=/portal-gui/README; revision=3317
-rw-r--r--portal-gui/README11
1 files changed, 7 insertions, 4 deletions
diff --git a/portal-gui/README b/portal-gui/README
index 2e1f5cfa..b2808cd8 100644
--- a/portal-gui/README
+++ b/portal-gui/README
@@ -109,12 +109,15 @@ this script can be run by hand. However, for deployment you will need to set up
a cron job to run this script periodically for *each* resource handle the
portal-gui is serving.
-Note that "list_resources" only should be run in the directory where the
-myrpki.conf for the resource handle that is self-hosting the rpkid. You may way
-to create a script which is invoked by cron:
+NOTE that "list_resources" *must* be run in the directory where the myrpki.conf
+for the resource handle that is self-hosting the rpkid. Alternatively, you can
+set the $MYRPKI_CONF environment variable to full pathname of the myrpki.conf
+for the self-hosted resource handle.
+
+You may way to create a script which is invoked by cron:
#!/bin/sh
- cd /var/lib/myrpki
+ cd /var/lib/myrpki/<self-hosted-handle>
$top/portal-gui/scripts/list_resources mom
$top/portal-gui/scripts/list_resources dad
$top/portal-gui/scripts/list_resources baby