Skip to content

Commit 5e8da3b

Browse files
committed
fix(systemd): do not wait on dbus
Since firewalld can operate without dbus, allow it to start before dbus. Fixes: firewalld#414
1 parent a542647 commit 5e8da3b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

config/firewalld.service.in

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
Description=firewalld - dynamic firewall daemon
33
Before=network-pre.target
44
Wants=network-pre.target
5-
Requires=dbus.service
6-
After=dbus.service
7-
After=polkit.service
5+
# Use PartOf so firewalld is restarted when dbus is restarted. But it doesn't
6+
# have to wait on it initially.
7+
PartOf=dbus.service
88
Conflicts=iptables.service ip6tables.service ebtables.service ipset.service
99
Documentation=man:firewalld(1)
1010

@@ -14,8 +14,6 @@ ExecStart=@sbindir@/firewalld --nofork --nopid $FIREWALLD_ARGS
1414
ExecReload=/bin/kill -HUP $MAINPID
1515
StandardOutput=null
1616
StandardError=null
17-
Type=dbus
18-
BusName=org.fedoraproject.FirewallD1
1917
KillMode=mixed
2018
DevicePolicy=closed
2119
KeyringMode=private

0 commit comments

Comments
 (0)