[08:49] <afournier> nobody has problem updating busybox with opkg ?
[09:06] <afournier> could be related http://trac.freesmartphone.org/ticket/43
[09:07] <afournier> 5 years ago :p
[09:12] <jodh> afournier: wrong channel?
[09:19] <afournier> yes
[09:19] <afournier> indeed
[09:20]  * afournier needs more coffee
[09:20] <afournier> thanks jodh
[09:39] <afournier> btw, i am using upstart with busybox, and ntpd for instance, so i do something like "exec ntpd -l -p pool.ntp.org", ntpd then output to stdout, and everything ends in /var/log/upstart/myjob.log as expected. But is there a stanza to output that in syslog automaticaly, or do i have to append "| logger" ?
[09:40] <afournier> i'd like every single output to go to the syslog...
[09:47] <afournier> exec >/dev/kmsg 2>&1
[10:13] <xnox> we don't have: "console log syslog" yet
[10:14] <xnox> (e.g. log to both /var/log/upstart/myjob.log and syslog
[10:14] <xnox> )
[14:46] <tom0815> hello, I have one question: is it possible with upstart to check, if a network service is running on an other host and only a local server, if the other network service is available?
[14:49] <xnox> tom0815: one can do anything in the pre-start script, see cookbook.
[14:50] <xnox> tom0815: are you after failover? in that case look up hearbeat that can handover networked services for you like that
[14:52] <tom0815> thank you, I have a two servers. on one a mysql db is running and i want to start a second service on the other service, but only, if mysql db is up and running on the first server
[14:52] <tom0815> so it is no failover scenario
[14:53] <xnox> tom0815: in pre-start script try to ping mysql port on the mysql host.
[14:53] <xnox> tom0815: and stop if not available.
[14:54] <xnox> tom0815: your job should start on when network is up
[14:54] <xnox> tom0815: and you probably want a loop & timeout to try connecting to mysql later.
[14:54] <xnox> and eventually give up
[14:55] <xnox> tom0815: see cookbook for (linked in the topic) about pre-start scripts, and starting on when network is up.
[15:07] <tom0815> thanx alot!  I will have a look to the cookbook
[15:56] <afournier> that's funny i am working on the same thing (almost)
[15:57] <afournier> and it's a pain :)
[15:59] <afournier> i did something like mysqladmin --wait=10 ping
[15:59] <afournier> and then i want to "initctl emit --no-wait database-up"
[16:09] <afournier> is it ok to call "restart" from the post-start script in case something failed ?
[16:10] <afournier> i know it could lead to infinite loop, but i don't know if it's possible