[Lunar-commits] <moonbase> iptables: small fix to the systemd service

Jean-Michel Bruenn wdp at lunar-linux.org
Fri Aug 5 16:55:16 CEST 2011


commit 56c22eaf4da82fe36e8a8f81ec130507dcac0a4f
Author: Jean-Michel Bruenn <wdp at lunar-linux.org>
Date:   Fri Aug 5 16:55:16 2011 +0200

    iptables: small fix to the systemd service
---
 security/iptables/systemd.d/iptables.service |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/security/iptables/systemd.d/iptables.service b/security/iptables/systemd.d/iptables.service
index 62fe083..db1461e 100644
--- a/security/iptables/systemd.d/iptables.service
+++ b/security/iptables/systemd.d/iptables.service
@@ -1,9 +1,9 @@
 [Unit]
 Description=Packet Filtering Framework
+ConditionPathExists=/etc/config.d/iptables
 
 [Service]
 Type=oneshot
-ConditionFileExists=/etc/config.d/iptables
 ExecStart=/usr/sbin/iptables-restore /etc/config.d/iptables
 ExecStop=/usr/sbin/iptsave
 ExecStopPost=/usr/sbin/iptables-restore /etc/config.d/iptables-empty


More information about the Lunar-commits mailing list