diff options
Diffstat (limited to 'portal-gui/README')
-rw-r--r-- | portal-gui/README | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/portal-gui/README b/portal-gui/README index 2115a7c9..2048601a 100644 --- a/portal-gui/README +++ b/portal-gui/README @@ -108,29 +108,18 @@ portal-gui database with information that has changed. For testing purposes, this script can be run by hand. However, for deployment you will need to set up a cron job to run this script periodically. -If you are only self-hosting a single resource handle, the script may be -invoked without any arguments. If in addition to a self-hosted resource handle -you are hosting other resource handles on the same rpkid instance, you must -specify the list of handles you want to query as arguments to the script. - - Example: single self-hosted resource holder - - $top/portal-gui/scripts/list_resources - - Example: self-hosted and two hosted resource handles - - $top/portal-gui/scripts/list_resources mom dad baby - 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. +for the self-hosted resource handle (However, in order for this to work, you +need to specify the full path name for "bpki_servers_directory" variable in +your myrpki.conf.) You may way to create a script which is invoked by cron: #!/bin/sh cd /var/lib/myrpki/<handle> # where the myrpki.conf for rpkid lives - $top/portal-gui/scripts/list_resources mom dad baby + $top/portal-gui/scripts/list_resources This script probably only needs to be run infrequently. It's sole purpose is to query rpkid to ask what resources and children are configured for each resource |