Skip to content

Commit 27aef12

Browse files
committed
the bug of crontab renew command fixed.
1 parent b69f3f9 commit 27aef12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/letsencrypt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ else
6565
cp /ssl/letsencrypt/$domain/ /etc/letsencrypt/ -r
6666
fi
6767

68-
cat <(crontab -l) <(echo "0 5 * * 1 certbot renew --quiet --renew-hook "service nginx reload"") | crontab -
68+
cat <(crontab -l) <(echo "0 5 * * 1 certbot renew --quiet --renew-hook \"service nginx reload\"") | crontab -

0 commit comments

Comments
 (0)