diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2020-04-15 03:24:09 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2020-04-15 03:24:09 +0000 |
commit | 3ccf6f5b3c4c0505269abe6369fa753f12b54e23 (patch) | |
tree | c354e6cdeea51f5f783bc7c1be88b213cc40b4cd /usr.sbin/acme-client/acme-client.1 | |
parent | bce4e8156ded142cfa6b20c56bc9d54cc67753cd (diff) |
Use the new random interval support in cron instead of a random sleep.
The random intervals used can be adjusted as needed. OK deraadt@
Diffstat (limited to 'usr.sbin/acme-client/acme-client.1')
-rw-r--r-- | usr.sbin/acme-client/acme-client.1 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/acme-client/acme-client.1 b/usr.sbin/acme-client/acme-client.1 index d76cbe4a609..9f6784a9fa2 100644 --- a/usr.sbin/acme-client/acme-client.1 +++ b/usr.sbin/acme-client/acme-client.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: acme-client.1,v 1.32 2019/06/15 17:06:44 florian Exp $ +.\" $OpenBSD: acme-client.1,v 1.33 2020/04/15 03:24:08 millert Exp $ .\" .\" Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 15 2019 $ +.Dd $Mdocdate: April 15 2020 $ .Dt ACME-CLIENT 1 .Os .Sh NAME @@ -122,8 +122,8 @@ On renewal, .Xr httpd 8 is reloaded: .Bd -literal -offset indent -0 * * * * sleep $((RANDOM \e% 2048)) && \e - acme-client example.com && rcctl reload httpd +~ * * * * acme-client example.com && \e + rcctl reload httpd .Ed .Sh SEE ALSO .Xr openssl 1 , |