mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] iptables: fix path in ExecStop in IPv6 systemd unit
@ 2023-04-08 22:12 Tamino Bauknecht
  2023-04-14 10:03 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Tamino Bauknecht @ 2023-04-08 22:12 UTC (permalink / raw)
  To: ptxdist; +Cc: Tamino Bauknecht

The service file for the systemd unit "ip6tables" contained the wrong
path for the executable "ip6tables-flush". This caused each attempt to
stop the unit to fail.
This commit fixes this typing mistake and sets the path to
"/usr/sbin/ip6tables-flush".

Signed-off-by: Tamino Bauknecht <dev@tb6.eu>
---
 projectroot/usr/lib/systemd/system/ip6tables.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projectroot/usr/lib/systemd/system/ip6tables.service b/projectroot/usr/lib/systemd/system/ip6tables.service
index 7cf9ab88b..52e3096ed 100644
--- a/projectroot/usr/lib/systemd/system/ip6tables.service
+++ b/projectroot/usr/lib/systemd/system/ip6tables.service
@@ -10,7 +10,7 @@ ConditionFileNotEmpty=/etc/iptables/rules.v6
 Type=oneshot
 ExecStart=/usr/sbin/ip6tables-restore /etc/iptables/rules.v6
 ExecReload=/usr/sbin/ip6tables-restore /etc/iptables/rules.v6
-ExecStop=/usr/sbin/iptables/ip6tables-flush
+ExecStop=/usr/sbin/ip6tables-flush
 RemainAfterExit=yes
 [Install]
 WantedBy=multi-user.target
-- 
2.40.0




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-14 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-08 22:12 [ptxdist] [PATCH] iptables: fix path in ExecStop in IPv6 systemd unit Tamino Bauknecht
2023-04-14 10:03 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox