Hi Paride,
I asked on systemd github, see if that might help:
https://github.com/systemd/systemd/issues/28122#
Em 20/06/2023 07:59, Paride Legovini escreveu:
Bruno Meirelles wrote on 20/06/2023:
Hi Paride, thanks for the reply.
I checked the systemd file and it says After=network-online.target, it
still doesn't work, I need to restart the service.
Is the problem in systemd?
Who should I report to?
Hi,
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ says:
---
network-online.target is a target that actively waits until the nework
is "up", where the definition of "up" is defined by the network
management software. Usually it indicates a configured, routable IP
address of some kind. Its primary purpose is to actively delay
activation of services until the network is set up.
---
so I'd say it's either systemd or ifupdown (assuming that's what you are
using).
Paride