Web lists-archives.com

How to make networking dependent on firewall configuration?




Hi,

I have a /lib/systemd/system/networking.service.d/networking.service.conf
configuration file which specifies, that my custom iptables.service is
a requirement for networking.service:

# systemctl show networking -p Requires
Requires=system.slice iptables.service
#

Is there a better or more correct way to do this? Are there any
general disadvantages of such approach?


thanks,
Martin