[systemd-devel] Requires and After

Mirco Tischler mt-ml at gmx.de
Wed Nov 9 09:31:03 PST 2011


2011/11/9 Michael D. Berger <m.d.berger at ieee.org>:
> myDaemon must start after myBaseDaemon, and must start only
> if myBaseDaemon is started.
>
>  Do I use:
>  After=myBaseDaemon
>  Requires=myBaseDaemon
>  ;or only:
>  Requires=myBaseDaemon
>  ?
>
> Thanks,
> Mike.
>
The first. Requires alone doesn't ensure the ordering.

Mirco


More information about the systemd-devel mailing list