Skip to content

Commit

Permalink
Merge pull request #596 from thekaleidoscope/make-rtletsencrypt-idemp…
Browse files Browse the repository at this point in the history
…otent

Update rtletsencrypt - add -f to make the ln command idempotent
  • Loading branch information
arakasi72 authored May 30, 2022
2 parents 39c28cc + e659fd2 commit 82929c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rtletsencrypt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if [ $(snap list | grep -c "certbot") = 0 ]; then
fi

#Prepare certbot command
ln -s /snap/bin/certbot /usr/bin/certbot
ln -sf /snap/bin/certbot /usr/bin/certbot

#Generating Certificates
certbot -q --nginx --register-unsafely-without-email --agree-tos certonly -d $serverdn >> $logfile 2>&1
Expand Down

0 comments on commit 82929c0

Please sign in to comment.