[systemd-devel] What unit file should I depend on?
lennart at poettering.net
Wed Feb 1 10:15:45 PST 2012
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 Poettering - Red Hat, Inc.
More information about the systemd-devel