/srv/irclogs.ubuntu.com/2011/03/25/#upstart.txt

marruslSpamapS, the cookbook is killer.  TY! (and JH)01:34
JohnTeddyMr_Bond: start on startup is too soon07:24
JohnTeddySpamapS: http://pastie.org/171225207:41
JohnTeddyWhat is wrong with that upstart script?07:41
JohnTeddyo, apparently there is an autossh software package07:47
* JohnTeddy installs07:47
JohnTeddyautossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. The original idea and the mechanism were from rstunnel (Reliable SSH Tunnel). With version 1.2 of autossh the method changed: autossh uses ssh to construct a loop of ssh forwardings (one from local to remote, one from remote to local), and then sends test data that it expects to get back.07:48
JohnTeddyThis will work better than what I have now07:48
JohnTeddyhttp://pastie.org/171229807:51
JohnTeddyok, let's see if this works.07:51
JohnTeddyok, the upstart script doesn't work.07:54
JohnTeddyI wonder if it will auto reconnect after broken pipes though.07:55
JohnTeddyIt was consistently giving me a broken pipe after 10 minutes, so I just have to wait 10 minutes then see if I can still use pidgin/chromium.07:56
SpamapSJohnTeddy: start on startup is before the network is up.. before filesystems.. *way* too soon07:58
JohnTeddySpamapS: right, http://pastie.org/1712298 I have 'start on net-device-up IFACE!=lo' now.08:27
=== apachelogger is now known as releaselogger
=== jMCg is now known as emoconnel
=== emoconnel is now known as jMCg
=== releaselogger is now known as apachelogger

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