]> pere.pagekite.me Git - homepage.git/commitdiff
Bedre språk.
authorPetter Reinholdtsen <pere@hungry.com>
Sun, 6 Jun 2010 22:04:09 +0000 (22:04 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Sun, 6 Jun 2010 22:04:09 +0000 (22:04 +0000)
blog/data/2010-06-06-upstart.txt

index eb12f3b925460aa1213b09bca1e25974e916f092..88508edd36b056538df46b4aaf6570cd8010421b 100644 (file)
@@ -3,15 +3,16 @@ Tags: english, debian, debian edu
 Date: 2010-06-06 23:55
 
 <p>If Debian is to migrate to upstart on Linux, I expect some init.d
-scripts to migrate (some of) their operations to upstart, and will
-need a way to behave differently when used with sysvinit and with
-upstart.  Because of this, I had a look at the environment variables
-set when a init.d script is running under upstart, and when it is
-not.</p>
+scripts to migrate (some of) their operations to upstart job while
+keeping the init.d for hurd and kfreebsd.  The packages with such
+needs will need a way to get their init.d scripts to behave
+differently when used with sysvinit and with upstart.  Because of
+this, I had a look at the environment variables set when a init.d
+script is running under upstart, and when it is not.</p>
 
-<p>With upstart, I notice these environment variables are set like
-this for a script started from rcS.d/ (ignoring some irrelevant
-ones):</p>
+<p>With upstart, I notice these environment variables are set when a
+script is started from rcS.d/ (ignoring some irrelevant ones like
+COLUMNS):</p>
 
 <blockquote><pre>
 DEFAULT_RUNLEVEL=2