kongo2002/nyx

Howto stop command

Closed this issue · 3 comments

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.

Hi,
did you try wrapping that 'inline' shell command in a single executable script file? That should work for sure.

Cheers,
Gregor

That was it. Many thanks man.

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.