[CentOS] systemd order help?

Mon Jun 12 16:18:01 UTC 2017
James Pearson <james-p at moving-picture.com>

Matthew Miller wrote:
> You probably want "display-manager.service" instead of
> "graphical.target".
> You also will want "Requires=autofs.service". The distinction between
> "After/Before" and "Requires" is exactly for the reason you give; the
> ordering directives don't require anything, so without
> display-manager.service enabled, Before=display-manager.service is just
> a no-op. Actually, you might even want "BindsTo=autofs.service", which
> is stronger.

Thanks - that makes sense ...

> Depending on your setup, you many want to look at converting your
> automatic mounts into systemd mounts, and depend on that directly,
> rather than on the autofs service.

It's one systemd (baby) step at a time for me at the moment - that's 
probably too much to consider :-)


James Pearson