systemd services: multi-user is not same as old runlevel 3 so use basic

add conflicts to obviously conflicting services
remove old version number from init files
remove legacy syslog.target which is not needed on modern systems
fix formatting of email address onold Copyright text

Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
Tuomo Soini 2014-09-23 16:43:08 +03:00
parent 8f05d0f16d
commit a03f00bf0f
5 changed files with 21 additions and 21 deletions

View File

@ -1,12 +1,12 @@
#
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall - V4.4
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
#
# Copyright 2011 Jonathan Underwood (jonathan.underwood@gmail.com)
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
#
[Unit]
Description=Shorewall IPv4 firewall
After=syslog.target
Description=Shorewall IPv4 firewall (bootup security)
Before=network.target
Conflicts=firewalld.service
[Service]
Type=oneshot
@ -17,4 +17,4 @@ ExecStart=/sbin/shorewall-init $OPTIONS start
ExecStop=/sbin/shorewall-init $OPTIONS stop
[Install]
WantedBy=multi-user.target
WantedBy=basic.target

View File

@ -1,12 +1,12 @@
#
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall - V4.4
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
#
# Copyright 2011 Jonathan Underwood (jonathan.underwood@gmail.com)
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
#
[Unit]
Description=Shorewall IPv4 firewall (lite)
After=syslog.target
After=network.target
Conflicts=iptables.service firewalld.service
[Service]
Type=oneshot
@ -17,4 +17,4 @@ ExecStart=/sbin/shorewall-lite $OPTIONS start
ExecStop=/sbin/shorewall-lite $OPTIONS stop
[Install]
WantedBy=multi-user.target
WantedBy=basic.target

View File

@ -1,12 +1,12 @@
#
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall - V4.4
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
#
# Copyright 2011 Jonathan Underwood (jonathan.underwood@gmail.com)
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
#
[Unit]
Description=Shorewall IPv4 firewall
After=syslog.target
After=network.target
Conflicts=iptables.service firewalld.service
[Service]
Type=oneshot
@ -17,4 +17,4 @@ ExecStart=/sbin/shorewall $OPTIONS start
ExecStop=/sbin/shorewall $OPTIONS stop
[Install]
WantedBy=multi-user.target
WantedBy=basic.target

View File

@ -1,12 +1,12 @@
#
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall - V4.4
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
#
# Copyright 2011 Jonathan Underwood (jonathan.underwood@gmail.com)
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
#
[Unit]
Description=Shorewall IPv6 firewall (lite)
After=syslog.target
After=network.target
Conflicts=ip6tables.service firewalld.service
[Service]
Type=oneshot
@ -17,4 +17,4 @@ ExecStart=/sbin/shorewall6-lite $OPTIONS start
ExecStop=/sbin/shorewall6-lite $OPTIONS stop
[Install]
WantedBy=multi-user.target
WantedBy=basic.target

View File

@ -1,12 +1,12 @@
#
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall - V4.4
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
#
# Copyright 2011 Jonathan Underwood (jonathan.underwood@gmail.com)
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
#
[Unit]
Description=Shorewall IPv6 firewall
After=syslog.target
After=network.target
Conflicts=ip6tables.service firewalld.service
[Service]
Type=oneshot
@ -17,4 +17,4 @@ ExecStart=/sbin/shorewall6 $OPTIONS start
ExecStop=/sbin/shorewall6 $OPTIONS stop
[Install]
WantedBy=multi-user.target
WantedBy=basic.target