RUNLEVEL variable not set

Scott James Remnant scott at netsplit.com
Fri Dec 24 13:36:06 UTC 2010


The RUNLEVEL environment variable will be set in any job started by
the "runlevel" event.

Without seeing your job, I can't advise further, please feel free to
follow up and attach the configuration you're having difficulty with.

Scott

On Fri, Dec 24, 2010 at 4:09 AM, Jeff Hanson <jhansonxi at gmail.com> wrote:
> I'm working on a simple Upstart job conf that needs to perform a
> different action depending on runlevel, basically S vs 2345.  It's not
> working and I have confirmed that RUNLEVEL is not set.  A grep shows
> that RUNLEVEL is used by some of the other confs.  I have a workaround
> with multiple confs but I would like to solve it with just one.
>
> --
> upstart-devel mailing list
> upstart-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
>



More information about the upstart-devel mailing list