diff options
-rw-r--r-- | portal-gui/README | 11 |
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 |