twb | On a lucid server, suppose I have an upstart job which has "post-stop exec sleep 10m" | 04:39 |
---|---|---|
twb | When I try to shut down or reboot the server, will it wait for those 10m, or will the halt/reboot happen before then? | 04:40 |
twb | I want the former -- the post-stop script is actually a patch to libvirt-bin.conf to make it gracefully shut down VMs: http://paste.debian.net/116806/ | 04:41 |
twb | AFAICT the latter is currently the case | 05:24 |
twb | Hmm, can I just patch rc.conf to say | 05:28 |
twb | start on (runlevel [12345] or (runlevel [06] and stopped libvirt-bin)) ? | 05:28 |
twb | That seems to work | 05:40 |
twb | Ridiculously ugly, but it works | 05:40 |
twb | OK, so apparently the line I pasted is wrong, because I get a tokenization error | 06:29 |
wraiden | hello | 11:10 |
=== sadmac is now known as sadmac_lunch | ||
=== sadmac_lunch is now known as sadmac |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!