Re: [systemd-devel] Starting a service before any networking

2023-09-28 Thread Mantas Mikulėnas
On Wed, Sep 27, 2023 at 12:31 PM Mark Rogers wrote: > On Wed, 27 Sept 2023 at 10:18, Mantas Mikulėnas wrote: > >> So now I'm curious: if the first command you run is to bring the >> interface *down*, then what exactly brought it up? >> > > Good question. The reason for down/up was that this was

Re: [systemd-devel] Starting a service before any networking

2023-09-28 Thread Mark Rogers
On Thu, 28 Sept 2023 at 11:16, Mark Rogers wrote: > DefaultDependencies=no > FWIW I tried: DefaultDependencies=no Before=network-pre.target Wants=network-pre.target and DefaultDependencies=no Before=network-pre.target Wants=network-pre.target local-fs.target .. and in bo

Re: [systemd-devel] Starting a service before any networking

2023-09-28 Thread Mark Rogers
On Wed, 27 Sept 2023 at 14:09, Jetchko Jekov 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 th