/srv/irclogs.ubuntu.com/2011/02/06/#upstart.txt

twbWhen translating an LSB init script, does "Required-Start:    mountkernfs $local_fs" equate to "start on local-filesystems"?02:17
twbHmm, ufw seems to use "start on (starting network-interface02:22
twb          or starting network-manager02:22
twb          or starting networking)"02:22
twbThe comment says "# Make sure we start before an interface receives traffic", but I don't see how "starting" GUARANTEES that the ufw job will complete before any interface is up02:23
ymlHello I am trying to write an upstart script to start/stop my uwsgi instance : http://dpaste.de/jdNF/17:53
ymlFor some reason the it does not start. I have copied that file in /etc/init/17:54
ymlyml@toulouse:~$ start -v usgi_emperor17:54
ymlstart: Unknown job: usgi_emperor17:54
ymlis there a way to get more verbose error about the error17:55
ionYou’ll probably find a parse error message in syslog. Btw, you’ll most likely confuse Upstart by using ‘expect fork’ and having a main process that doesn’t behave as the expect stanza claims.18:55
ymlI see18:56
ymlion: what is the log file that i need to look at ?19:00
ionTry /var/log/syslog19:00
nfearnleyI'm trying to write an upstart conf file, but I don't understand what happens when I tell a service to stop. When I tell it to start, it runs the pre-start script, then runs exec line, then runs the post-start script. When I tell it to stop, it runs the pre-stop script, does ???? to halt the service, then runs the post-stop script. Can someone fill in the blank?21:11
JanCnfearnley: it kills the process21:29
JanCwell, first a TERM signal, then if that didn't work a KILL signal IIRC21:32
JanCyou can set the timeout before KILL with the "kill timeout" stanza (see init(5) for that)21:34
nfearnleyThank you.22:14

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