<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Upstart 0.5: Job Lifecycle</title>
	<atom:link href="http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/feed/" rel="self" type="application/rss+xml" />
	<link>http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 11:48:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: AlexT</title>
		<link>http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/#comment-1598</link>
		<dc:creator>AlexT</dc:creator>
		<pubDate>Tue, 20 Jan 2009 15:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=144#comment-1598</guid>
		<description>Oops... I&#039;d better read carefully. So, now I&#039;ve got it.</description>
		<content:encoded><![CDATA[<p>Oops&#8230; I&#8217;d better read carefully. So, now I&#8217;ve got it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AlexT</title>
		<link>http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/#comment-1597</link>
		<dc:creator>AlexT</dc:creator>
		<pubDate>Tue, 20 Jan 2009 15:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=144#comment-1597</guid>
		<description>&quot;For every time that the job is started, the post-stop process will be run.&quot;

Did you really mean &quot;started&quot;? or it&#039;s a typo? I&#039;d expect post-stop to be executed for every time that the job is stopped :)</description>
		<content:encoded><![CDATA[<p>&#8220;For every time that the job is started, the post-stop process will be run.&#8221;</p>
<p>Did you really mean &#8220;started&#8221;? or it&#8217;s a typo? I&#8217;d expect post-stop to be executed for every time that the job is stopped <img src='http://netsplit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerhard</title>
		<link>http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/#comment-1596</link>
		<dc:creator>Gerhard</dc:creator>
		<pubDate>Wed, 07 Jan 2009 13:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=144#comment-1596</guid>
		<description>Thanks for a great article.

My perl script takes an --start option to start and --stop to stop. How do I tell upstart to use that input argument as start up and shut down?

thanks for the help</description>
		<content:encoded><![CDATA[<p>Thanks for a great article.</p>
<p>My perl script takes an &#8211;start option to start and &#8211;stop to stop. How do I tell upstart to use that input argument as start up and shut down?</p>
<p>thanks for the help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Scott jr</title>
		<link>http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/#comment-1595</link>
		<dc:creator>James Scott jr</dc:creator>
		<pubDate>Thu, 12 Jun 2008 05:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=144#comment-1595</guid>
		<description>Question:
Where can I find documentation and examples for this new world?  Namely, I need and example or explaination of how to write a the ideal daemon for UpStart - should it fork, contact dbus or create a pid file?

Next how do I write a Upstart init.d file to replace a SYSV formatted file I used under Fedora, or a Debian based init.d for Ubuntu?  Again, an example would be nice. I can supply an autotools package with debian&#124;redhat.initd templates, and two versions of the same C template daemon; libc &amp; glib based with only --userid username --version --force (pid create) --help, if that would help. Its on my sourceforge page with gapcmon.  gdaemons-0.1.1.tar.bz2 https://sourceforge.net/project/showfiles.php?group_id=157888&amp;package_id=280067&amp;release_id=606274

I ask because I am interested in what your doing and there is a benefit for me; one init.d script for all linux platforms (WooHoo).  Thus, I want to understand how the two or three daemons I have released will be advantaged by upstart.  I have no problem adding dbus, although I already create a pid file.  Also I always fork once, but that two can be changed.  I&#039;m looking for the book or some best practces that I can code to.  Most of what i have googled on UpStart has been difficult to piece together and code to.</description>
		<content:encoded><![CDATA[<p>Question:<br />
Where can I find documentation and examples for this new world?  Namely, I need and example or explaination of how to write a the ideal daemon for UpStart &#8211; should it fork, contact dbus or create a pid file?</p>
<p>Next how do I write a Upstart init.d file to replace a SYSV formatted file I used under Fedora, or a Debian based init.d for Ubuntu?  Again, an example would be nice. I can supply an autotools package with debian|redhat.initd templates, and two versions of the same C template daemon; libc &amp; glib based with only &#8211;userid username &#8211;version &#8211;force (pid create) &#8211;help, if that would help. Its on my sourceforge page with gapcmon.  gdaemons-0.1.1.tar.bz2 <a href="https://sourceforge.net/project/showfiles.php?group_id=157888&#038;package_id=280067&#038;release_id=606274" rel="nofollow">https://sourceforge.net/project/showfiles.php?group_id=157888&#038;package_id=280067&#038;release_id=606274</a></p>
<p>I ask because I am interested in what your doing and there is a benefit for me; one init.d script for all linux platforms (WooHoo).  Thus, I want to understand how the two or three daemons I have released will be advantaged by upstart.  I have no problem adding dbus, although I already create a pid file.  Also I always fork once, but that two can be changed.  I&#8217;m looking for the book or some best practces that I can code to.  Most of what i have googled on UpStart has been difficult to piece together and code to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott James Remnant &#187; Blog Archive &#187; Upstart 0.5: Job Environment</title>
		<link>http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/#comment-1594</link>
		<dc:creator>Scott James Remnant &#187; Blog Archive &#187; Upstart 0.5: Job Environment</dc:creator>
		<pubDate>Wed, 16 Apr 2008 14:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=144#comment-1594</guid>
		<description>[...] Home      &#171; Upstart 0.5: Job Lifecycle [...]</description>
		<content:encoded><![CDATA[<p>[...] Home      &laquo; Upstart 0.5: Job Lifecycle [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/#comment-1593</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Mon, 14 Apr 2008 22:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=144#comment-1593</guid>
		<description>&gt;&gt; up to the PlanetKDE admins I guess

If you&#039;ve already contacted Chris Lee, that&#039;s good. He might take a while to update PlanetKDE -- I know it took about 2 weeks for my name to appear on the list.</description>
		<content:encoded><![CDATA[<p>&gt;&gt; up to the PlanetKDE admins I guess</p>
<p>If you&#8217;ve already contacted Chris Lee, that&#8217;s good. He might take a while to update PlanetKDE &#8212; I know it took about 2 weeks for my name to appear on the list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Bailey</title>
		<link>http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/#comment-1592</link>
		<dc:creator>Jeff Bailey</dc:creator>
		<pubDate>Mon, 14 Apr 2008 17:32:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=144#comment-1592</guid>
		<description>&gt; @jbailey: arguments to “script” are in the TODO, I’d planned to just default to shell if no arguments were given; is
&gt; there a compelling reason to have a “shell” instead?

The biggest argument is clarity.  You&#039;ve already got &#039;exec&#039; to differentiate from &#039;script&#039;.  But the popular scripting language in people&#039;s minds shifts from year to year.  A few years ago it would&#039;ve been Perl.  These days it&#039;s Python.

Another weaker argument for having aliases is the possibility of defining them in a config file.  That way if someone wants &quot;shell&quot; to mean &quot;/bin/posh&quot; on their system, they can change it in one place instead of sed&#039;ing all of the config files.</description>
		<content:encoded><![CDATA[<p>&gt; @jbailey: arguments to “script” are in the TODO, I’d planned to just default to shell if no arguments were given; is<br />
&gt; there a compelling reason to have a “shell” instead?</p>
<p>The biggest argument is clarity.  You&#8217;ve already got &#8216;exec&#8217; to differentiate from &#8216;script&#8217;.  But the popular scripting language in people&#8217;s minds shifts from year to year.  A few years ago it would&#8217;ve been Perl.  These days it&#8217;s Python.</p>
<p>Another weaker argument for having aliases is the possibility of defining them in a config file.  That way if someone wants &#8220;shell&#8221; to mean &#8220;/bin/posh&#8221; on their system, they can change it in one place instead of sed&#8217;ing all of the config files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott James Remnant</title>
		<link>http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/#comment-1591</link>
		<dc:creator>Scott James Remnant</dc:creator>
		<pubDate>Mon, 14 Apr 2008 17:24:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=144#comment-1591</guid>
		<description>@jbailey: arguments to &quot;script&quot; are in the TODO, I&#039;d planned to just default to shell if no arguments were given; is there a compelling reason to have a &quot;shell&quot; instead?

@tomasz, @jef: the entire point of the new version is to fix the problems that prevented us from taking full advantage of it.  Fedora won&#039;t have much luck without it either, and it&#039;s in their roadmap as well

@liquidat: yes, we&#039;re talking quite a lot

@vlad: up to the PlanetKDE admins I guess</description>
		<content:encoded><![CDATA[<p>@jbailey: arguments to &#8220;script&#8221; are in the TODO, I&#8217;d planned to just default to shell if no arguments were given; is there a compelling reason to have a &#8220;shell&#8221; instead?</p>
<p>@tomasz, @jef: the entire point of the new version is to fix the problems that prevented us from taking full advantage of it.  Fedora won&#8217;t have much luck without it either, and it&#8217;s in their roadmap as well</p>
<p>@liquidat: yes, we&#8217;re talking quite a lot</p>
<p>@vlad: up to the PlanetKDE admins I guess</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/#comment-1590</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Sun, 13 Apr 2008 20:56:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=144#comment-1590</guid>
		<description>Why don&#039;t you syndicate your blog to PlanetKDE? A lot of KDE devs would be interested in your work, as it will affect them in the future.</description>
		<content:encoded><![CDATA[<p>Why don&#8217;t you syndicate your blog to PlanetKDE? A lot of KDE devs would be interested in your work, as it will affect them in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: liquidat</title>
		<link>http://netsplit.com/2008/04/12/upstart-05-job-lifecycle/#comment-1589</link>
		<dc:creator>liquidat</dc:creator>
		<pubDate>Sun, 13 Apr 2008 12:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.netsplit.com/?p=144#comment-1589</guid>
		<description>Speaking about upstart, is there any cooperation going on with the Fedora people? They are about to &lt;a href=&quot;http://fedoraproject.org/wiki/Features/Upstart&quot; rel=&quot;nofollow&quot;&gt;include upstart with Fedora 9&lt;/a&gt;, although in version 0.3.9.</description>
		<content:encoded><![CDATA[<p>Speaking about upstart, is there any cooperation going on with the Fedora people? They are about to <a href="http://fedoraproject.org/wiki/Features/Upstart" rel="nofollow">include upstart with Fedora 9</a>, although in version 0.3.9.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

