[02:42] <Diddleha>  Know how to make upstart run something at shutdown before the send kill signals etc take over and whack everythings ?
[02:43] <Diddleha> "Backup over the net at shutdown" kind of a thing.
[02:45] <sadmac_tokyo> Diddleha: that's more of a distro question. It will vary depending on how your distro uses upstart
[02:45] <Diddleha> I have tested it on Fedora and Ubuntu
[02:45] <sadmac_tokyo> Diddleha: so you'd want to ask in your distro's channel
[02:46] <sadmac_tokyo> Diddleha: for fedora you'd define the job with start on starting killall
[02:47] <Diddleha> S000 or S01 or S03 will get interrupted. Kany will also be.
[02:47] <Diddleha> On Fedora
[02:47] <Diddleha> 10
[02:47] <Diddleha> in /etc/rc0.d
[02:49] <Diddleha> Or S00 for that matter. /Hmm
[02:49] <sadmac_tokyo> Diddleha: so you tried it as a sysv script and had an issue?
[02:49] <Diddleha> Yeah
[02:51] <sadmac_tokyo> Diddleha: that should have worked
[02:51] <Diddleha> The script runs, but there seems to be no way of making upstart not initiate the other kill signals (killall and halt scripts) before my script has finished
[02:52] <Diddleha> Its almost as if id require a "MustNotHaveBeenKilled: $network $local_fs" etc
[02:52] <Diddleha> Im lost. Ive been at it for days
[02:53] <sadmac_tokyo> Diddleha: upstart just runs /etc/rc, which runs the halt scripts in serial
[02:53] <sadmac_tokyo> Diddleha: it must be the way your sysv job is written
[02:54] <Diddleha> Oh, its serial on shutdown and paralell/threaded on startup ?
[02:55] <sadmac_tokyo> Diddleha: everything in /etc/rc* is fully serial.
[02:55] <sadmac_tokyo> Diddleha: only new-style upstart jobs are ever parallel
[02:55] <Diddleha> Mjae
[02:55] <Diddleha> Yeah, mine are
[02:56] <sadmac_tokyo> yours are what?
[02:56] <sadmac_tokyo> for that matter, your what are what?
[02:57] <Diddleha> If anyone has an answer youll get credz in this: http://mange.dynalias.org/linux/gadmin-rsync/screenshots/gadmin-rsync-progress.png
[02:58] <Diddleha> Added a restore function, but the backup at shutdown requires something extra: http://mange.dynalias.org/linux/gadmin-rsync/devel/gadmin-rsync-0.1.5-beta14.tar.gz
[02:58] <sadmac_tokyo> Diddleha: if you're installing a sysv script in /etc/rc then you should be in a serial path
[03:00] <Diddleha> rc0.d for shutdown you mean.
[03:01] <sadmac_tokyo> Diddleha: yes. if your new script is in there it should be in an order
[03:01] <Diddleha> Alphabetical ? :)
[03:01] <Diddleha> Or Numerical or Both ?
[03:01] <sadmac_tokyo> Diddleha: yes
[03:02] <Diddleha> Im feeling boored now
[03:02] <sadmac_tokyo> Diddleha: well, alphanumerical. Its by filename
[03:02] <Diddleha> No, its both
[03:03] <sadmac_tokyo> ok