Excerpts from Mariano González's message of 2014-02-17 06:43:16 -0800: > Hi guys. > I'm asking for help to write a script to monitor a newrelic agent. > Here's what I have now: https://gist.github.com/marianogg9/9002995 > As you may see, the service won't start and will respawn 10 times. I think > this is an env issue, but I tried with export and env stanzas without > success. > Any comments will be really appreciated. > Thanks! >
If you are running it as root, why not have it as a system job from /etc/init/something.conf ? Then you can drop sudo. Also you should have logs in ~/.cache/upstart if it is a user job, or /var/log/upstart if it is a system job. Those should give a clue as to why your command is failing. -- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
