/srv/irclogs.ubuntu.com/2010/11/03/#upstart.txt

=== JanC_ is now known as JanC
Schuylerhello18:10
Schuylercan anyone tell me why 'sudo initctl start $job' might hang?18:11
SchuylerI'm trying to run a Ruby app using Thin and I'd like to use upstart to supervise it.18:11
Schuylerhere's the /etc/init/app.conf18:13
Schuylerhttps://gist.github.com/66144818:13
JanCSchuyler: my guess would be that it doesn't detect that the app is running19:03
Schuylerit doesn't seem to even start the app.19:03
Schuylerif I run that /usr/bin/thin command line manually, it works.19:04
Schuylerupstream initctl just hangs.19:04
JanCdid you check with 'top' or 'ps' whether it runs or not ?19:05
JanCthere are some issues in the current release of upstart with detecting if a service runs or not19:06
SchuylerJanC, I think I got it figured out.19:45
SchuylerHowever, I had to reboot.19:45
SchuylerI ran strace and initctl was blocked on reading/writing to a socket.19:45
Schuylerit had hung on a call to poll()19:45
Schuylerrebooting fixed the hanging problem19:45
JanCif you have been trying different settings, upstart sometimes gets confused  ;)19:46
JanCat least, IME19:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!