From b27d875111271743be939368935ab28d93eae042 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 17 Jul 2020 20:52:52 +0200 Subject: log-forward: lock script to run just once --- log-forward | 3 +++ 1 file changed, 3 insertions(+) diff --git a/log-forward b/log-forward index 0500072..40afbe6 100644 --- a/log-forward +++ b/log-forward @@ -12,10 +12,13 @@ :global LogPrintExit; :global MailServerIsUp; +:global ScriptLock; :global SendNotification; :global SymbolForNotification; :global WaitFullyConnected; +$ScriptLock "log-forward"; + $WaitFullyConnected; :if ($MailServerIsUp = false) do={ -- cgit v1.2.3-54-g00ecf