On Wed, 01.02.12 18:20, Mike Kazantsev ([email protected]) wrote: > On Wed, 01 Feb 2012 03:40:20 -0800 > Manuel Amador <[email protected]> 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 -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
