From 28ae97f13507843ce82b41b14a87ea3cf70573f2 Mon Sep 17 00:00:00 2001 From: JT Date: Sat, 22 Oct 2016 09:55:36 +0100 Subject: [PATCH] Correct brackets I'm sure I did this properly the first time. Must have lost concentration! --- doc/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage.md b/doc/usage.md index 97e9a5e..c006cbf 100644 --- a/doc/usage.md +++ b/doc/usage.md @@ -78,7 +78,7 @@ You should execute `acme-client auto` as a daily cron. It's recommended to setup that script. ```sh -0 0 * * * /usr/local/sbin/acme-client auto; RC=$?; if [[ $RC = 4 ]] || [[ $RC = 5 ]]; then /usr/sbin/service nginx reload; fi +0 0 * * * /usr/local/sbin/acme-client auto; RC=$?; if [ $RC = 4 ] || [ $RC = 5 ]; then /usr/sbin/service nginx reload; fi ``` The path to `acme-client` should be modified to suit your system. The full path should be used as the system path may not be set up in your cron environment.