Commit 012e84a0 authored by Aral Balkan's avatar Aral Balkan
Browse files

Update installer is now config in
parent 42d0c5fe
......@@ -261,12 +261,12 @@ echo " * Writing out the server domains for the letsencrypt script…"
sudo bash -c "echo \"${serverNames}\" > /etc/letsencrypt/domains.txt"
echo " * Copying the configuration file template…"
sudo cp ./letsencrypt/ /etc/letsencrypt/
sudo chmod +x /etc/letsencrypt/
sudo cp ./letsencrypt/ /etc/letsencrypt/config
sudo chmod +x /etc/letsencrypt/config
echo " * Carrying out template substituions in configuration file…"
sudo sed -i "s/{URL}/${letsEncryptServerURL}/g" /etc/letsencrypt/
sudo sed -i "s/{EMAIL}/${gitAccountEmail}/g" /etc/letsencrypt/
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