Add support for execution as service (--service,-s)

This commit is contained in:
Hristo
2024-01-27 22:14:06 +02:00
committed by Masoko
parent dba655668c
commit 8a65c3c71c
4 changed files with 81 additions and 58 deletions

View File

@@ -30,6 +30,9 @@ qos = 0
# - if you want a fixed delay you can remove the randrange function and just set the needed value.
# random_delay = randrange(10)
# this is the time between executiuons if the script is used as service (--service option)
service_sleep_time = 120
# This is the time between sending the individual messages
sleep_time = 0.1