/srv/irclogs.ubuntu.com/2014/01/27/#upstart.txt

=== nikias_ is now known as nikias
woglindehi09:49
woglindeI need some help with pppd and upstart 1.509:49
woglindewhen I use respawn upstart does not get the pid right09:52
woglindeokay I solved the problem myself, it was using updetach command in the pppd config12:21
yann2hello! I am looking at what would be the easiest way to run a script after system start - but just a one off, this is not a daemon that needs to be controlled17:51
yann2I ve written quite a few jobs that controlled daemons, but not sure how to do it just for a script17:51
SpamapShm21:41
SpamapSsalt-master stop/killed, process 252921:41
SpamapSbad expect daemon in the salt-master upstart job..21:41
SpamapSbut worse.. I've re-created pid 2529...21:41
SpamapSand upstart is not killing it21:41
ionspamaps: https://github.com/ion1/workaround-upstart-snafu21:42
SpamapSion: thats what I used. :)21:42
ionhuh21:42
SpamapSyeah the process just sat there21:42
ion(Well, Upstart isn’t supposed to kill it, but it *is* supposed to notice when it exits without a parent. I don’t know why that doesn’t happen.)21:43
SpamapSright hm21:45
SpamapSrunning again..21:46
SpamapSstill can't believe this hasn't been fixed21:46
ionAlas, the development of things like that kind of slowed down when Keybuk moved to Google. Upstart also never gained support for states (which i find an essential part of the design in addition to just events).21:48
ion(States make it trivial to make the job C run whenever both job A and job B are running, no weird conditions with e.g. the event sequence A started, B started, B stopped, B started.)21:55
SpamapSion: it did work a second time. Coudl be pebkac.. don't know22:02
SpamapSion: Just FYI.. I was Canonical's server team upstart expert for a while.. quite familiar with the situation. I've written quite a few jobs myself. :)22:04
SpamapSion: such as /etc/init/wait-for-state.conf :)22:04
SpamapSion: upstart has intrinsic support for state. It does not, however, have a friendly way to use it. :)22:04
=== fredbarns_ is now known as fredbarns

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