From cf1510f2394750c118dbbba7ddd932b190dd8e69 Mon Sep 17 00:00:00 2001 From: openoms Date: Sat, 30 Mar 2019 09:49:26 +0000 Subject: [PATCH] enable certbot.timer --- electrs/electrs_automation_for_Eclair.sh | 6 ++---- nginx/bonus.SSL_for_RTL.sh | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/electrs/electrs_automation_for_Eclair.sh b/electrs/electrs_automation_for_Eclair.sh index 7d2f51f..9d420f5 100644 --- a/electrs/electrs_automation_for_Eclair.sh +++ b/electrs/electrs_automation_for_Eclair.sh @@ -81,8 +81,7 @@ Restart=always RestartSec=60 " | sudo tee -a /etc/systemd/system/certbot.service -sudo systemctl enable certbot -sudo systemctl start certbot +sudo systemctl enable certbot.timer echo "" echo "***" @@ -93,8 +92,7 @@ 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 "by running \`sudo nano /etc/nginx/nginx.conf\`." +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 "please press a key to continue" read key diff --git a/nginx/bonus.SSL_for_RTL.sh b/nginx/bonus.SSL_for_RTL.sh index 85bcce8..8eee278 100644 --- a/nginx/bonus.SSL_for_RTL.sh +++ b/nginx/bonus.SSL_for_RTL.sh @@ -77,8 +77,7 @@ Restart=always RestartSec=60 " | sudo tee -a /etc/systemd/system/certbot.service -sudo systemctl enable certbot -sudo systemctl start certbot +sudo systemctl enable certbot.timer echo "" echo "***" @@ -87,8 +86,7 @@ read YOUR_DOMAIN echo "Setting up nginx.conf" 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 "by running \`sudo nano /etc/nginx/nginx.conf\`." +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 "please press a key to continue" read key