Browse Source

Fix btcpay-env

feature/more-args
nicolas.dorier 6 years ago
parent
commit
dd97b9651e
No known key found for this signature in database GPG Key ID: 6618763EF09186FE
  1. 2
      btcpay-setup.sh

2
btcpay-setup.sh

@ -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

Loading…
Cancel
Save