aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--certificate-renew-issued.rsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/certificate-renew-issued.rsc b/certificate-renew-issued.rsc
index c297b15..2b18a76 100644
--- a/certificate-renew-issued.rsc
+++ b/certificate-renew-issued.rsc
@@ -14,6 +14,9 @@
:global LogPrintExit2;
:global MkDir;
+:global ScriptLock;
+
+$ScriptLock $0;
:foreach Cert in=[ /certificate/find where issued expires-after<3w ] do={
:local CertVal [ /certificate/get $Cert ];