Skip to content

Commit

Permalink
Fix issue #157
Browse files Browse the repository at this point in the history
  • Loading branch information
joglomedia committed Aug 31, 2023
1 parent c899fc7 commit 8295b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install_certbotle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function init_certbotle_install() {
# Add Certbot auto renew command to cronjob.
if [[ "${DRYRUN}" != true ]]; then
export EDITOR=nano
CRONCMD='0 */6 * * * /usr/bin/certbot renew --quiet --renew-hook "/usr/sbin/service nginx reload -s"'
CRONCMD='0 */6 * * * /usr/bin/certbot renew --quiet --pre-hook "/usr/sbin/service nginx stop" --post-hook "/usr/sbin/service nginx start"'
touch lemper.cron
crontab -u root lemper.cron
crontab -l > lemper.cron
Expand Down

0 comments on commit 8295b7c

Please sign in to comment.