Commit abb09ef8 authored by Aral Balkan's avatar Aral Balkan
Browse files

Update Let’s Encrypt config script name

parent 6fa1a52b
......@@ -195,12 +195,12 @@ echo " * Writing out the server domains for the letsencrypt script…"
sudo bash -c "echo \"${serverName}\" > /etc/letsencrypt/domains.txt"
echo " * Copying the letsencrypt.sh configuration file template…"
sudo cp ./letsencrypt/config.sh.template /etc/letsencrypt/config.sh
sudo chmod +x /etc/letsencrypt/config.sh
sudo cp ./letsencrypt/config.sh.template /etc/letsencrypt/config
sudo chmod +x /etc/letsencrypt/config
echo " * Carrying out template substituions in letsencrypt.sh configuration file…"
sudo sed -i "s/{URL}/${letsEncryptServerURL}/g" /etc/letsencrypt/config.sh
sudo sed -i "s/{EMAIL}/${gitAccountEmail}/g" /etc/letsencrypt/config.sh
sudo sed -i "s/{URL}/${letsEncryptServerURL}/g" /etc/letsencrypt/config
sudo sed -i "s/{EMAIL}/${gitAccountEmail}/g" /etc/letsencrypt/config
echo " * Stopping nginx service…"
sudo service nginx stop
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment