[systemd-devel] Starting a service before any networking

Mark Rogers mark at more-solutions.co.uk
Thu Sep 28 10:16:32 UTC 2023


On Wed, 27 Sept 2023 at 14:09, Jetchko Jekov <jetchko.jekov at gmail.com>
wrote:

> A good example of a service that needs to be started before networking
> is the firewall service.
> You can take a look at what your distro of choice is providing for hints.
>

Good idea, thanks


> DefaultDependencies=no
>

This looks like the most important bit I was unaware of, although it now
seems that I was looking in the wrong direction in thinking that dhcpcd was
starting before it had a configuration file as fixing that doesn't seem to
have helped.

-- 
Mark Rogers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20230928/800c89f0/attachment.htm>


More information about the systemd-devel mailing list