On Wed, 1 Jun 2011 15:36:55 +0200
yoshi watanabe <yoshi...@gmail.com> wrote:

> Hi all
> 
> I'd like to know how can one manage services that are being auto
> generated (e.g. mount points or cryptsetup).
> 
> In case of mount points, i would like to have all mount services
> depend on arbitrary service of my choice. How do i do that?
> 

A bit of a hack and probably depends on what you mean by "depend on
arbitrary service", but since all mount units have "Requires=-.mount" and
"After=-.mount", you should be able to create that unit manually
(overriding auto-generated one) and add any ordering or requirements
there.


> in case of cryptsetup - since my initrd (dracut) already opens the
> encrypted storage the autogenerated systemd cryptsetup service keeps
> timing out. How do i disable a service that's automatically generated
> by one of systemd helpers?


-- 
Mike Kazantsev // fraggod.net


_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to