enable certbot.timer

This commit is contained in:
openoms
2019-03-30 09:49:26 +00:00
parent 04cc910b58
commit cf1510f239
2 changed files with 4 additions and 8 deletions

View File

@@ -81,8 +81,7 @@ Restart=always
RestartSec=60 RestartSec=60
" | sudo tee -a /etc/systemd/system/certbot.service " | sudo tee -a /etc/systemd/system/certbot.service
sudo systemctl enable certbot sudo systemctl enable certbot.timer
sudo systemctl start certbot
echo "" echo ""
echo "***" echo "***"
@@ -93,8 +92,7 @@ echo "Setting up nginx.conf"
echo "***" echo "***"
echo "" echo ""
echo "If there is other an stream service is installed with Nginx already, you will need to edit the nginx.conf manually to remove the duplicate stream entry" echo "If there is other an stream service is installed with Nginx already, you will need to edit the nginx.conf manually to remove the duplicate stream entry by running \`sudo nano /etc/nginx/nginx.conf\`."
echo "by running \`sudo nano /etc/nginx/nginx.conf\`."
echo "please press a key to continue" echo "please press a key to continue"
read key read key

View File

@@ -77,8 +77,7 @@ Restart=always
RestartSec=60 RestartSec=60
" | sudo tee -a /etc/systemd/system/certbot.service " | sudo tee -a /etc/systemd/system/certbot.service
sudo systemctl enable certbot sudo systemctl enable certbot.timer
sudo systemctl start certbot
echo "" echo ""
echo "***" echo "***"
@@ -87,8 +86,7 @@ read YOUR_DOMAIN
echo "Setting up nginx.conf" echo "Setting up nginx.conf"
echo "" echo ""
echo "If there is other an stream service is installed with Nginx already, you will need to edit the nginx.conf manually to remove the duplicate stream entry" echo "If there is other an stream service is installed with Nginx already, you will need to edit the nginx.conf manually to remove the duplicate stream entry by running \`sudo nano /etc/nginx/nginx.conf\`."
echo "by running \`sudo nano /etc/nginx/nginx.conf\`."
echo "please press a key to continue" echo "please press a key to continue"
read key read key