So:
* Requires=ZFS.service in local-fs.target
(accomplished using a symlink to ZFS.service in local-fs.target.requires)
* Before=local-fs.target in ZFS.service
* After=fedora-storage-init-late.service in ZFS.service
That way
-- local-fs.target is required, pulling in ZFS.service and f-s-i-l.service --
-- f-s-i-l.service happens --
-- ZFS.service happens --
-- local-fs.target is reached --
upon boot, right?
Thanks for this info!
On Wednesday, February 01, 2012 11:47:25 Jóhann B. Guðmundsson wrote:
> On 02/01/2012 11:40 AM, Manuel Amador wrote:
> > In other words:
> >
> > - I want local-fs.target to "pull in" my unit without having to touch
> > local-fs.target to add a Requires= dependency,
> >
> > - I don't want the local-fs.target to be "reached" until my own unit
> > is done mounting filesystems,
> >
> > - I don't want my unit file to execute before the late block device
> > initialization is done,
> >
> > Catch my drift?
>
> You cant you either need to pull it in via Requires or enable it and the
> rest you solve by using Before and After
>
> JBG
> _______________________________________________
> systemd-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel