Files
gentoo/net-firewall/firewalld/files/firewalld-systemd-service.patch
Dennis Lamm 2ee17b4a82 net-firewall/firewalld: improved systemd service
removed environment variable reference from ExecStart

Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/35562
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
2024-03-21 05:10:21 +01:00

20 lines
769 B
Diff

Drops the/an obsolete 'conflicts' line with old iptables services bug #833506
Removes EnvironmentFile and FIREWALLD_ARGS variable
===================================================================
--- a/config/firewalld.service.in
+++ b/config/firewalld.service.in
@@ -4,12 +4,10 @@
Wants=network-pre.target
After=dbus.service
After=polkit.service
-Conflicts=iptables.service ip6tables.service ebtables.service ipset.service nftables.service
Documentation=man:firewalld(1)
[Service]
-EnvironmentFile=-/etc/sysconfig/firewalld
-ExecStart=@sbindir@/firewalld --nofork --nopid $FIREWALLD_ARGS
+ExecStart=@sbindir@/firewalld --nofork --nopid
ExecReload=/bin/kill -HUP $MAINPID
# supress to log debug and error output also to /var/log/messages
StandardOutput=null