I'm trying to run a go command via "upstart" on my ubuntu.
My upstart script is
script
go run /home/myhome/gocode/src/program/hello.go
end script
It's not working and I checked the log file and it says
/bin/sh: 1: /bin/sh: go: not found
I can run "go" on command line using any user name. How do I fix this?