Mirror from bluesky-social/pds
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use PDS_ENV_FILE environment variable if set (#48)

* Updating account.sh to allow PDS_ENV_FILE to be set as env var.

* Update create-invite-code.sh to allow PDS_ENV_FILE to be set as env var.

* Update request-crawl.sh to allow PDS_ENV_FILE to be set as env var.

authored by

Nick Gerakines and committed by
GitHub
24d65542 2402759c

+3 -4
+1 -1
pdsadmin/account.sh
··· 3 3 set -o nounset 4 4 set -o pipefail 5 5 6 - PDS_ENV_FILE="/pds/pds.env" 6 + PDS_ENV_FILE=${PDS_ENV_FILE:-"/pds/pds.env"} 7 7 source "${PDS_ENV_FILE}" 8 8 9 9 # curl a URL and fail if the request fails.
+1 -2
pdsadmin/create-invite-code.sh
··· 3 3 set -o nounset 4 4 set -o pipefail 5 5 6 - PDS_ENV_FILE="/pds/pds.env" 7 - 6 + PDS_ENV_FILE=${PDS_ENV_FILE:-"/pds/pds.env"} 8 7 source "${PDS_ENV_FILE}" 9 8 10 9 curl \
+1 -1
pdsadmin/request-crawl.sh
··· 3 3 set -o nounset 4 4 set -o pipefail 5 5 6 - PDS_ENV_FILE="/pds/pds.env" 6 + PDS_ENV_FILE=${PDS_ENV_FILE:-"/pds/pds.env"} 7 7 source "${PDS_ENV_FILE}" 8 8 9 9 RELAY_HOSTS="${1:-}"