/srv/irclogs.ubuntu.com/2010/12/09/#upstart.txt

=== stevee_ is now known as stevee
=== stevee is now known as Stevee
yaaangwhat's the precise connection between upstart and init.d/rc's? if i have an upstart conf in /etc/init/ with "start on runlevel [2345]" do i still need to create a symlink to /lib/init/upstart-job and run update-rc.d on that?20:32
yaaangi notice a bunch of services have presence in both directories, which is confusing20:32
rglhello22:27
rglfor some reason, service mongrel2 status says "mongrel2 start/killed, process 1254822:28
rgl" but there is no process 12548 ... doing a service mongrel2 stop does not work either ... how can I "unstuck" upstart?22:28
ashbrgl: sounds like its forking. 'expect fork' stanza or something along thosel ines in the config23:56
ashbalso check the log to make sure its not just respawning really fast then stopping23:56
ionDon’t add an ‘expect’ stanza unless you’re *absolutely* certain of the forking behavior of the main process. Otherwise you’ll confuse Upstart. A future release will have a better implementation of following forks.23:57
rglashb, I have respawn like in other upstart files (eg. the cron one). 23:58
ashbi was just guessing - my upstart knowledge is teeny23:58
rgloh w8... respawn does not seem the same as fork!23:58
rglerr23:59
ashbyeah respawn says restart if it crashes/stops(?)23:59
rglon the previous version ... I was using expect fork too. but it does not work either.23:59

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