mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
systemd service: rename pre214 systemd versions to pre214 and remove separeate 214 variants
This commit is contained in:
parent
06dd5dc38f
commit
c447ddd03e
@ -5,7 +5,8 @@
|
|||||||
#
|
#
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Shorewall firewall (bootup security)
|
Description=Shorewall firewall (bootup security)
|
||||||
Before=network.target
|
Before=network-pre.target
|
||||||
|
Wants=network-pre.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
#
|
|
||||||
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
|
|
||||||
#
|
|
||||||
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
|
|
||||||
#
|
|
||||||
[Unit]
|
|
||||||
Description=Shorewall firewall (bootup security)
|
|
||||||
Before=network-pre.target
|
|
||||||
Wants=network-pre.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
RemainAfterExit=yes
|
|
||||||
EnvironmentFile=-/etc/sysconfig/shorewall-init
|
|
||||||
StandardOutput=syslog
|
|
||||||
ExecStart=/sbin/shorewall-init start
|
|
||||||
ExecStop=/sbin/shorewall-init stop
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=basic.target
|
|
@ -1,21 +0,0 @@
|
|||||||
#
|
|
||||||
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
|
|
||||||
#
|
|
||||||
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
|
|
||||||
# Copyright 2015 Tom Eastep <teastep@shorewall.net>
|
|
||||||
#
|
|
||||||
[Unit]
|
|
||||||
Description=Shorewall firewall (bootup security)
|
|
||||||
Before=network-pre.target
|
|
||||||
Wants=network-pre.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
RemainAfterExit=yes
|
|
||||||
EnvironmentFile=-/etc/default/shorewall-init
|
|
||||||
StandardOutput=syslog
|
|
||||||
ExecStart=/sbin/shorewall-init start
|
|
||||||
ExecStop=/sbin/shorewall-init stop
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=basic.target
|
|
@ -6,7 +6,8 @@
|
|||||||
#
|
#
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Shorewall firewall (bootup security)
|
Description=Shorewall firewall (bootup security)
|
||||||
Before=network.target
|
Before=network-pre.target
|
||||||
|
Wants=network-pre.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
#
|
|
||||||
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
|
|
||||||
#
|
|
||||||
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
|
|
||||||
#
|
|
||||||
[Unit]
|
|
||||||
Description=Shorewall IPv4 firewall (lite)
|
|
||||||
Wants=network-online.target
|
|
||||||
After=network-online.target
|
|
||||||
Conflicts=iptables.service firewalld.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
RemainAfterExit=yes
|
|
||||||
EnvironmentFile=-/etc/sysconfig/shorewall-lite
|
|
||||||
StandardOutput=syslog
|
|
||||||
ExecStart=/sbin/shorewall-lite $OPTIONS start $STARTOPTIONS
|
|
||||||
ExecStop=/sbin/shorewall-lite $OPTIONS stop
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=basic.target
|
|
@ -1,22 +0,0 @@
|
|||||||
#
|
|
||||||
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
|
|
||||||
#
|
|
||||||
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
|
|
||||||
#
|
|
||||||
[Unit]
|
|
||||||
Description=Shorewall IPv4 firewall
|
|
||||||
Wants=network-online.target
|
|
||||||
After=network-online.target
|
|
||||||
Conflicts=iptables.service firewalld.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
RemainAfterExit=yes
|
|
||||||
EnvironmentFile=-/etc/sysconfig/shorewall
|
|
||||||
StandardOutput=syslog
|
|
||||||
ExecStart=/sbin/shorewall $OPTIONS start $STARTOPTIONS
|
|
||||||
ExecStop=/sbin/shorewall $OPTIONS stop
|
|
||||||
ExecReload=/sbin/shorewall $OPTIONS reload $RELOADOPTIONS
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=basic.target
|
|
@ -1,21 +0,0 @@
|
|||||||
#
|
|
||||||
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
|
|
||||||
#
|
|
||||||
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
|
|
||||||
#
|
|
||||||
[Unit]
|
|
||||||
Description=Shorewall IPv6 firewall (lite)
|
|
||||||
Wants=network-online.target
|
|
||||||
After=network-online.target
|
|
||||||
Conflicts=ip6tables.service firewalld.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
RemainAfterExit=yes
|
|
||||||
EnvironmentFile=-/etc/sysconfig/shorewall6-lite
|
|
||||||
StandardOutput=syslog
|
|
||||||
ExecStart=/sbin/shorewall6-lite $OPTIONS start
|
|
||||||
ExecStop=/sbin/shorewall6-lite $OPTIONS stop
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=basic.target
|
|
@ -1,22 +0,0 @@
|
|||||||
#
|
|
||||||
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
|
|
||||||
#
|
|
||||||
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
|
|
||||||
#
|
|
||||||
[Unit]
|
|
||||||
Description=Shorewall IPv6 firewall
|
|
||||||
Wants=network-online.target
|
|
||||||
After=network-online.target
|
|
||||||
Conflicts=ip6tables.service firewalld.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
RemainAfterExit=yes
|
|
||||||
EnvironmentFile=-/etc/sysconfig/shorewall6
|
|
||||||
StandardOutput=syslog
|
|
||||||
ExecStart=/sbin/shorewall6 $OPTIONS start $STARTOPTIONS
|
|
||||||
ExecStop=/sbin/shorewall6 $OPTIONS stop
|
|
||||||
ExecReload=/sbin/shorewall6 $OPTIONS reload $RELOADOPTIONS
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=basic.target
|
|
Loading…
Reference in New Issue
Block a user