[systemd-devel] What unit file should I depend on?

Manuel Amador rudd-o at rudd-o.com
Wed Feb 1 19:02:02 PST 2012


Yes.  I was being succint in my mail.  I hate typing.


On Wednesday, February 01, 2012 19:15:45 Lennart Poettering wrote:
> On Wed, 01.02.12 18:20, Mike Kazantsev (mk.fraggod at gmail.com) wrote:
> > On Wed, 01 Feb 2012 03:40:20 -0800
> > 
> > Manuel Amador <rudd-o at rudd-o.com> wrote:
> > > Thanks for the info.
> > > 
> > > What I mean to do is create a unit file that, dropped in, will
> > > automatically run on boot without having to enable anything.  Let's be
> > > specific:
> > > 
> > > [Unit]
> > > Blah blah blah
> > > After=cryptsetup.target fedora-storage-init-late.service local-fs.target
> > > WantedBy=local-fs.target
> > 
> > Afaik WantedBy= is only valid in the [Install] section.
> 
> Oh, yes, Mike is right. WantedBy (i.e. reverse wants) is something you
> can only configure in [Alias], and which then results in creation of a
> .wants/ symlink on install time.
> 
> Lennart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120201/d7d3229e/attachment.htm>


More information about the systemd-devel mailing list