11 lines
322 B
Bash
Executable File
11 lines
322 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Source this before using prime CLI
|
|
export PATH="/srv/prime-core/bin:$PATH"
|
|
# set this to a long random passphrase (do not commit)
|
|
export PRIME_VAULT_KEY="${PRIME_VAULT_KEY:-CHANGE_ME}"
|
|
if [ -f /srv/prime-core/.secrets/runtime.env ]; then
|
|
set -a
|
|
. /srv/prime-core/.secrets/runtime.env
|
|
set +a
|
|
fi
|