Skip to content

Commit

Permalink
Update ss-install.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jessuppi committed Jun 10, 2020
1 parent 749e4d9 commit 49aba66
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ss-install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1466,6 +1466,11 @@ sed -i "s/@SITE_TLD/${SITE_TLD}/g" /tmp/wp-config.txt
## replace SFTP Details placeholders ##
sed -i "s/@SFTP_USER/${SFTP_USER}/g" /tmp/wp-config.txt
sed -i "s/@SFTP_PASSWORD/${SFTP_PASSWORD}/g" /tmp/wp-config.txt
if [[ -z "$SSH_PORT" ]]; then
sed -i "s/@SSH_PORT/6969/g" /tmp/wp-config.txt
else
sed -i "s/@SSH_PORT/${SSH_PORT}/g" /tmp/wp-config.txt
fi

## replace CloudFlare placeholders ##
sed -i "s/@CLOUDFLARE_API_KEY/${CLOUDFLARE_API_KEY}/g" /tmp/wp-config.txt
Expand Down Expand Up @@ -1650,6 +1655,11 @@ sed -i "s/@SITE_TLD/${SITE_TLD}/g" /tmp/wp-config.txt
## replace SFTP Details placeholders ##
sed -i "s/@SFTP_USER/${SFTP_USER}/g" /tmp/wp-config.txt
sed -i "s/@SFTP_PASSWORD/${SFTP_PASSWORD}/g" /tmp/wp-config.txt
if [[ -z "$SSH_PORT" ]]; then
sed -i "s/@SSH_PORT/6969/g" /tmp/wp-config.txt
else
sed -i "s/@SSH_PORT/${SSH_PORT}/g" /tmp/wp-config.txt
fi

## replace CloudFlare placeholders ##
sed -i "s/@CLOUDFLARE_API_KEY/${CLOUDFLARE_API_KEY}/g" /tmp/wp-config.txt
Expand Down

0 comments on commit 49aba66

Please sign in to comment.