diff options
author | Christian Hesse <mail@eworm.de> | 2020-07-17 20:52:52 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-07-17 20:52:52 +0200 |
commit | b27d875111271743be939368935ab28d93eae042 (patch) | |
tree | 32c27479d7811f2d5c57c23836874dfcbfdf6368 /log-forward | |
parent | 00e99a13fbbe0fe5be2b148365e0afffa905718a (diff) |
log-forward: lock script to run just once
Diffstat (limited to 'log-forward')
-rw-r--r-- | log-forward | 3 |
1 files changed, 3 insertions, 0 deletions
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={ |