Created
June 9, 2020 18:08
-
-
Save ZiTAL/58462910e5dd2542ce2a246c560f98f4 to your computer and use it in GitHub Desktop.
apache: letsencrypt auto renew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/etc/init.d/apache2 stop | |
/opt/letsencrypt/letsencrypt-auto renew | |
/etc/init.d/apache2 start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# crontab -e | |
# hilien behin | |
0 0 1 * * /root/scripts/bash/certificate_renew.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ez ahaztu lelau hau eitxen: