Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

Commit

Permalink
Remove --keep as it doesn't seem needed with renew
Browse files Browse the repository at this point in the history
Fixes #3
  • Loading branch information
lnicola committed Jul 23, 2016
1 parent 6ba5a88 commit 3d4a8ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
This is a small `systemd` unit for automating the Certbot certificate renewal for the nginx web server.
It runs monthly and simply executes

certbot renew --standalone --keep-until-expiring
certbot renew --standalone

It uses the standalone authenticator, because Certbot nginx support is incomplete. This requires the
web server to be stopped for a couple of seconds during each run (monthly, but can be overridden) and
Expand Down
2 changes: 1 addition & 1 deletion certbot-nginx.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ After=network-online.target
[Service]
Type=oneshot
ExecStartPre=/bin/systemctl stop nginx
ExecStart=/usr/bin/certbot renew --standalone --keep-until-expiring
ExecStart=/usr/bin/certbot renew --standalone
ExecStartPost=/bin/systemctl --no-block start nginx

0 comments on commit 3d4a8ca

Please sign in to comment.