This repository has been archived by the owner on Nov 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the last settings instead of the standalone mode to avoid stoppin…
…g nginx
- Loading branch information
Showing
3 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
[Unit] | ||
Description=Renew Certbot certificate (nginx) | ||
Description=Renew Certbot certificates (nginx) | ||
After=network-online.target | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStartPre=/bin/systemctl stop nginx | ||
ExecStart=/usr/bin/certbot renew --standalone | ||
ExecStopPost=/bin/systemctl --no-block start nginx | ||
ExecStart=/usr/bin/certbot renew | ||
ExecStopPost=/bin/systemctl --no-block reload nginx |
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