<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Upstart 0.5: Events</title>
	<atom:link href="http://www.netsplit.com/2008/04/27/upstart-05-events/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netsplit.com/2008/04/27/upstart-05-events/</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Sat, 05 Jul 2008 08:48:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: giko</title>
		<link>http://www.netsplit.com/2008/04/27/upstart-05-events/#comment-861</link>
		<dc:creator>giko</dc:creator>
		<pubDate>Wed, 25 Jun 2008 12:43:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=147#comment-861</guid>
		<description>Hi,

I want to trigger a script when a device (.f.ex. usb dongle, usb bluetooth etc) i removed. I read that upstart can be triggert on these events (emitet by the kernel, hal or dbus) but i do not know the name "?" of the event to trigger on.  Could you help me out there? /giko</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I want to trigger a script when a device (.f.ex. usb dongle, usb bluetooth etc) i removed. I read that upstart can be triggert on these events (emitet by the kernel, hal or dbus) but i do not know the name &#8220;?&#8221; of the event to trigger on.  Could you help me out there? /giko</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frymaster</title>
		<link>http://www.netsplit.com/2008/04/27/upstart-05-events/#comment-826</link>
		<dc:creator>Frymaster</dc:creator>
		<pubDate>Mon, 28 Apr 2008 13:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=147#comment-826</guid>
		<description>The only annoying this about upstart as-is (I can't comment on upstart 5 which is upstart as-it-will-be) is I have literally no clue which of these keywords are in the version of upstart in my distro (which is version 0.3.8), or indeed which other keywords NOT described are there, or what they might do.

While there is a very good getting started guide on this webite, it is pretty much the only documentation that exists, and it _IS_ only useful for getting started, not finished.  "man event.d" does nothing, "man upstart" does nothing, "man init" leads via the "see also" section to initctl, which is interesting but also doesn't help in writing the things.  The example jobs are of the very simple kind and are similarly unhelpful. (The existance of a pre-stop script and a post-start was inferred from the existing examples, but aren't explicitly mentioned anywhere)

Just from what has been casually dropped in here and on I know there's a "task" keyword, but have no idea what that means.  There are tantalising hints to some kind of logging facility (which is what I'm tearing my hair out over at the moment) but I have no idea how to invoke it, or even to redirect output somewhere sensible, other than redirecting at the end of the line calling the program (which then triggers that app's very annoying let's-buffer-1-screen-at-a-time mode).  If I put the app at the beginning of a pipe, stopping the job kills the shell that's calling the program without killing the program itself and I have no idea how to fix it.  I have no clue what events might fire on my system, or what might decide to fire them, and have no systematic way of finding out.  I have no idea how to carry state information forward from pre-start scripts to the start script itself, other than creating tons of temp files.

In short, I need documentation :(</description>
		<content:encoded><![CDATA[<p>The only annoying this about upstart as-is (I can&#8217;t comment on upstart 5 which is upstart as-it-will-be) is I have literally no clue which of these keywords are in the version of upstart in my distro (which is version 0.3.8), or indeed which other keywords NOT described are there, or what they might do.</p>
<p>While there is a very good getting started guide on this webite, it is pretty much the only documentation that exists, and it _IS_ only useful for getting started, not finished.  &#8220;man event.d&#8221; does nothing, &#8220;man upstart&#8221; does nothing, &#8220;man init&#8221; leads via the &#8220;see also&#8221; section to initctl, which is interesting but also doesn&#8217;t help in writing the things.  The example jobs are of the very simple kind and are similarly unhelpful. (The existance of a pre-stop script and a post-start was inferred from the existing examples, but aren&#8217;t explicitly mentioned anywhere)</p>
<p>Just from what has been casually dropped in here and on I know there&#8217;s a &#8220;task&#8221; keyword, but have no idea what that means.  There are tantalising hints to some kind of logging facility (which is what I&#8217;m tearing my hair out over at the moment) but I have no idea how to invoke it, or even to redirect output somewhere sensible, other than redirecting at the end of the line calling the program (which then triggers that app&#8217;s very annoying let&#8217;s-buffer-1-screen-at-a-time mode).  If I put the app at the beginning of a pipe, stopping the job kills the shell that&#8217;s calling the program without killing the program itself and I have no idea how to fix it.  I have no clue what events might fire on my system, or what might decide to fire them, and have no systematic way of finding out.  I have no idea how to carry state information forward from pre-start scripts to the start script itself, other than creating tons of temp files.</p>
<p>In short, I need documentation <img src='http://www.netsplit.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
