1
0

Fix btcpay-env

This commit is contained in:
nicolas.dorier
2019-06-12 22:46:29 +09:00
parent 4fedf42da9
commit dd97b9651e

View File

@@ -229,7 +229,7 @@ export BTCPAY_ENV_FILE=\"$BTCPAY_ENV_FILE\"
export BTCPAY_HOST_SSHKEYFILE=\"$BTCPAY_HOST_SSHKEYFILE\"
if cat \"\$BTCPAY_ENV_FILE\" &> /dev/null; then
while IFS= read -r line; do
export \"\$line\"
! [[ \"\$line\" == \"#\"* ]] && [[ \"\$line\" == *\"=\"* ]] && export \"\$line\"
done < \"\$BTCPAY_ENV_FILE\"
fi
" > /etc/profile.d/btcpay-env.sh