-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0758313
commit 72be4e6
Showing
3 changed files
with
18 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
# This script extracts the secret key and access key of the gateway | ||
function setupEnv() { | ||
dirpath=$(dirname $0) | ||
export PATH=$PATH:$dirpath | ||
. common.sh | ||
} | ||
setupEnv | ||
|
||
LOG=$LOGFILE | ||
echo $(date) "Gateway parameter extraction" >> $LOG | ||
export PATH=$PATH:${SYS_QPKG_INSTALL_PATH}/container-station/bin | ||
moduleBase=${WEB_PATH}/${PKGNAME} | ||
docker run --rm -v ${moduleBase}/gateway:/root/.local/share/storj/gateway --entrypoint /bin/cat storjlabs/gateway:latest /root/.local/share/storj/gateway/config.yaml | ||
|