On Tue, Feb 18, 2014 at 04:17:16PM -0300, Mariano González wrote: > Steve
> Tried what you suggested, newrelic_rs_dfw_test.conf: > # Upstart script > start on runlevel [2345] > stop on runlevel [016] > respawn > chdir /opt/turner/services/newrelic/newrelic_rs_dfw/ > exec bundle exec bin/newrelic_rs That's not what I suggested. I wrote: exec ./bundle exec bin/newrelic_rs I don't think this 'bundle' command is on the system path. > init (upstart 0.6.5) Ok. You're quite a few upstart revisions - and almost two Ubuntu LTSes - behind. I would certainly recommend upgrading to Ubuntu 12.04 if you can, which would give you the upstart job logging support. > Run the bundle from the right folder: > [root@server newrelic_rs_dfw]# pwd > /path/newrelic/newrelic_rs_dfw > [root@server newrelic_rs_dfw]# bundle exec ./bin/newrelic_rs > [Tue Feb 18 19:13:23 UTC 2014] WARN: SSL is disabled by default when using > Ruby 1.8.x > And started normally. Yes, which probably means that 'bundle' is a command that's on the path when you run a login shell, but is not on the default path used by upstart. You can verify the location of the bundle command by running 'which bundle'. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ [email protected] [email protected]
signature.asc
Description: Digital signature
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
