To monitor what my job definitions are doing, I would like to see text output from the jobs. That does not seem to be possible when I am logged on via SSH.
I am having this problem with Natty 11.04, but I am convinced that it is a more common one.
A simple job file I use (filename /etc/init/test.conf
):
description "test"
start on test
console owner
kill timeout 5
task
script
/bin/echo Gotcha...
end script
My goal is to see the text "Gotcha..." when doing initctl emit test
or initctl start test
. But that does not work.
What I have tried so far:
- "console output" instead of "console owner"
- "exec /bin/echo Gotcha..." instead of script...end script