aboutsummaryrefslogtreecommitdiffstats
path: root/certificate-renew-issued.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-06-13 08:51:01 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-06-13 08:53:03 +0200
commit4420c79e0c98f05f45abfa7ad8da37ffa6aa6fb2 (patch)
tree55007498d8a49a36b3476377339b9ac30f48195c /certificate-renew-issued.rsc
parent1167347ec099563c3129a844c0d02c806368cf6e (diff)
certificate-renew-issued: lock the script
Diffstat (limited to 'certificate-renew-issued.rsc')
-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 ];