Skip to content

Commit

Permalink
update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
LooXzy committed Apr 20, 2024
1 parent f7732ef commit 824a067
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ deploy_nftables() {
deploy_sabu() {

# UPDATE .ENV
cp /sabu/endpoint/.env.model /sabu/endpoint/.env > /dev/null 2>&1
sed -i 's|^HOSTNAME_ENDPOINT=.*|HOSTNAME_ENDPOINT="'"$NAME_ENDPOINT"'"|' /sabu/endpoint/.env
sed -i 's|^SERVER_URL=.*|SERVER_URL="'"$SERVER_IP"'"|' /sabu/endpoint/.env
sed -i 's|^TOKEN_API=.*|TOKEN_API="'"$API_TOKEN"'"|' /sabu/endpoint/.env
Expand Down

0 comments on commit 824a067

Please sign in to comment.