Hi all,
I have a strange issue with a commands promise.
I like to execute
commands:
"/usr/bin/swatch"
args => "--script-dir=/root --config-file=/etc/swatch/swatch-auth.conf --tail-file=/var/log/auth.log --tail-args=--follow=name --daemon";
calling this from the command-line,
the command returns immediately with exit status "0"
cf-agent on the other side hangs here whatever I trie.
I tried
- putting all "args" into the promiser string,
- running with no extra options,
- running with a contain body with:
--- useshell or noshell (noshell should be okay though, right?)
--- exec_timeout
--- different umask values
it's all the same:
the command IS executed (it's running after cf-agent evaluated the promise)
but immediately after this command cf-agent is waiting infinitely ,
keeps waiting passing any timeout (the timeout is mentioned by cf-agent -v as the last output)
I have several other commands promises which are all working fine.
Anybody any idea, or how to debug this further
TIA
Robur