feat(custon): restart_interval for continuous script

This commit is contained in:
Alex
2020-03-25 22:25:27 +01:00
parent c3cdd516ef
commit cb2f5c154c
2 changed files with 16 additions and 1 deletions

View File

@ -33,6 +33,12 @@ Addressed by *custom/<name>*
You can update it manually with a signal. If no *interval* is defined,
it is assumed that the out script loops it self.
*restart_interval*: ++
typeof: integer ++
The restart interval (in seconds).
Can't be used with the *interval* option, so only with continuous scripts.
Once the scripts exit, it'll be re-executed after the *restart_interval*.
*signal*: ++
typeof: integer ++
The signal number used to update the module.