Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: iptables wiki page questions
Date: Sat, 15 Aug 2020 00:23:07
Message-Id: rh79t1$cdi$1@ciao.gmane.io
In Reply to: Re: [gentoo-user] iptables wiki page questions by tastytea
1 On 2020-08-14, tastytea <tastytea+gentoo@××××××××.de> wrote:
2
3 > rc-service runs the same service scripts that are in /etc/init.d/, so
4 > it's the same. However the manpage of rc-service(8) mentions that
5 > “Service scripts could be in different places on different systems”, so
6 > the most compatible way would be to use rc-service.
7
8 Oddly, the two usages are both within one example. It appears that
9 the author uses "/etc/init.d/iptables" for the "save" command and
10 "rc-service iptables" for the "start" command.
11
12 Also interesting: the openrc wiki page doesn't mention rc-service at
13 all and the examples all use "/etc/init.d/<whatever> <command>".
14 [That's what I tend to use because it allows tab-completion.]
15
16 --
17 Grant

Replies

Subject Author
Re: [gentoo-user] Re: iptables wiki page questions tastytea <tastytea+gentoo@××××××××.de>