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