20 lines
771 B
Text
20 lines
771 B
Text
# Run executable as long-running processor plugin
|
|
[[processors.execd]]
|
|
## One program to run as daemon.
|
|
## NOTE: process and each argument should each be their own string
|
|
## eg: command = ["/path/to/your_program", "arg1", "arg2"]
|
|
command = ["cat"]
|
|
|
|
## Environment variables
|
|
## Array of "key=value" pairs to pass as environment variables
|
|
## e.g. "KEY=value", "USERNAME=John Doe",
|
|
## "LD_LIBRARY_PATH=/opt/custom/lib64:/usr/local/libs"
|
|
# environment = []
|
|
|
|
## Delay before the process is restarted after an unexpected termination
|
|
# restart_delay = "10s"
|
|
|
|
## Serialization format for communicating with the executed program
|
|
## Please note that the corresponding data-format must exist both in
|
|
## parsers and serializers
|
|
# data_format = "influx"
|