=== nikias_ is now known as nikias | ||
woglinde | hi | 09:49 |
---|---|---|
woglinde | I need some help with pppd and upstart 1.5 | 09:49 |
woglinde | when I use respawn upstart does not get the pid right | 09:52 |
woglinde | okay I solved the problem myself, it was using updetach command in the pppd config | 12:21 |
yann2 | hello! 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 controlled | 17:51 |
yann2 | I ve written quite a few jobs that controlled daemons, but not sure how to do it just for a script | 17:51 |
SpamapS | hm | 21:41 |
SpamapS | salt-master stop/killed, process 2529 | 21:41 |
SpamapS | bad expect daemon in the salt-master upstart job.. | 21:41 |
SpamapS | but worse.. I've re-created pid 2529... | 21:41 |
SpamapS | and upstart is not killing it | 21:41 |
ion | spamaps: https://github.com/ion1/workaround-upstart-snafu | 21:42 |
SpamapS | ion: thats what I used. :) | 21:42 |
ion | huh | 21:42 |
SpamapS | yeah the process just sat there | 21: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 |
SpamapS | right hm | 21:45 |
SpamapS | running again.. | 21:46 |
SpamapS | still can't believe this hasn't been fixed | 21:46 |
ion | Alas, 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 |
SpamapS | ion: it did work a second time. Coudl be pebkac.. don't know | 22:02 |
SpamapS | ion: 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 |
SpamapS | ion: such as /etc/init/wait-for-state.conf :) | 22:04 |
SpamapS | ion: 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!