mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 04:54:18 +01:00
enable certbot.timer
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user