← Back to team overview

ubuntu-phone team mailing list archive

Re: Customized Upstart Jobs/Overrides

 

On Thu, May 01, 2014 at 10:42:01AM -0400, Chris Wayne wrote:
> So that would work well for the session jobs, but we would need system jobs
> as well.  Perhaps --confdir could be extended to allow for multiple
> directories for system jobs?

Yes, I think this is the right way to do this.  Could you please open a bug
on the upstart package for this issue?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@xxxxxxxxxx                                     vorlon@xxxxxxxxxx

> On Thu, May 1, 2014 at 6:28 AM, Iain Lane <laney@xxxxxxxxxx> wrote:
> 
> > On Wed, Apr 30, 2014 at 10:08:27PM -0400, Chris Wayne wrote:
> > > Hi,
> > >
> > > One of the customizations we've identified as necessary is support for
> > > upstart jobs or overrides shipped in the custom tarball.  Currently, we
> > > ship some upstart jobs in the ubuntu-touch-customization-hooks package,
> > but
> > > those should be separate from the rootfs.  What would be the best way to
> > > accomplish this?  The requirement as always is that the jobs would have
> > to
> > > live in /custom.
> >
> > Unless I'm mistaken, Upstart looks in $XDG_CONFIG_DIRS/upstart for user
> > session job configuration (and override) files. If you're not already,
> > you could prepend /custom to this list and then dropping overrides into
> > /custom/upstart should work.
> >
> > I don't think this applies to system jobs though, and I'm not sure what
> > the answer would be there, if you need that.
> >
> > Cheers,
> >
> > --
> > Iain Lane                                  [ iain@xxxxxxxxxxxxxxxxxxx ]
> > Debian Developer                                   [ laney@xxxxxxxxxx ]
> > Ubuntu Developer                                   [ laney@xxxxxxxxxx ]
> >
> > --
> > Mailing list: https://launchpad.net/~ubuntu-phone
> > Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~ubuntu-phone
> > More help   : https://help.launchpad.net/ListHelp
> >
> >

> -- 
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp

Attachment: signature.asc
Description: Digital signature


Follow ups

References