Howto stop command
Closed this issue · 3 comments
saba0815 commented
Hi Gregor,
i tried to use the stop: command in my yaml but to no avail. To test it i used
stop: echo test > $HOME/test.log
Am i missing something?
Thx, s.
kongo2002 commented
Hi,
did you try wrapping that 'inline' shell command in a single executable script file? That should work for sure.
Cheers,
Gregor
saba0815 commented
That was it. Many thanks man.
kongo2002 commented
You're welcome!
I guess it should be stated more clearly in the documentation that the command has to be an executable and is not invoked in a shell itself.