1
1
Fork 1

Moved btcpay bashrc to project repo.

This commit is contained in:
Derek Smith 2023-04-07 14:01:11 -04:00
parent 8ec3af6703
commit 754ebc81a4
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
1 changed files with 0 additions and 6 deletions

View File

@ -106,10 +106,4 @@ if ! lxc list --format csv | grep -q "$LXD_VM_NAME"; then
ssh "$FQDN" "sudo chown ubuntu:ubuntu $REMOTE_DATA_PATH"
ssh "$FQDN" "sudo chown -R ubuntu:ubuntu $REMOTE_BACKUP_PATH"
if [ "$VIRTUAL_MACHINE" = btcpayserver ]; then
# send an updated ~/.bashrc so we have quicker access to cli tools
scp ./btcpayserver/bashrc.txt "ubuntu@$FQDN:$REMOTE_HOME/.bashrc"
ssh "$BTCPAY_FQDN" "chown ubuntu:ubuntu $REMOTE_HOME/.bashrc"
ssh "$BTCPAY_FQDN" "chmod 0664 $REMOTE_HOME/.bashrc"
fi
fi