From 42363da4587872c8b0be761ee502d0dcd436105e Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 9 Oct 2014 10:00:53 -0700 Subject: [PATCH] Add new .service files Signed-off-by: Tom Eastep --- Shorewall-init/shorewall-init.service | 20 ++++++++++++++++++++ Shorewall-lite/shorewall-lite.service | 20 ++++++++++++++++++++ Shorewall/shorewall.service | 20 ++++++++++++++++++++ Shorewall6-lite/shorewall6-lite.service | 20 ++++++++++++++++++++ Shorewall6/shorewall6.service | 20 ++++++++++++++++++++ 5 files changed, 100 insertions(+) create mode 100644 Shorewall-init/shorewall-init.service create mode 100644 Shorewall-lite/shorewall-lite.service create mode 100644 Shorewall/shorewall.service create mode 100644 Shorewall6-lite/shorewall6-lite.service create mode 100644 Shorewall6/shorewall6.service diff --git a/Shorewall-init/shorewall-init.service b/Shorewall-init/shorewall-init.service new file mode 100644 index 000000000..956a2cd04 --- /dev/null +++ b/Shorewall-init/shorewall-init.service @@ -0,0 +1,20 @@ +# +# The Shoreline Firewall (Shorewall) Packet Filtering Firewall +# +# Copyright 2011 Jonathan Underwood +# +[Unit] +Description=Shorewall IPv4 firewall (bootup security) +Before=network.target +Conflicts=iptables.service firewalld.service + +[Service] +Type=oneshot +RemainAfterExit=yes +EnvironmentFile=-/etc/sysconfig/shorewall-init +StandardOutput=syslog +ExecStart=/sbin/shorewall-init $OPTIONS start +ExecStop=/sbin/shorewall-init $OPTIONS stop + +[Install] +WantedBy=basic.target diff --git a/Shorewall-lite/shorewall-lite.service b/Shorewall-lite/shorewall-lite.service new file mode 100644 index 000000000..9073b05bc --- /dev/null +++ b/Shorewall-lite/shorewall-lite.service @@ -0,0 +1,20 @@ +# +# The Shoreline Firewall (Shorewall) Packet Filtering Firewall +# +# Copyright 2011 Jonathan Underwood +# +[Unit] +Description=Shorewall IPv4 firewall (lite) +After=network.target +Conflicts=iptables.service firewalld.service + +[Service] +Type=oneshot +RemainAfterExit=yes +EnvironmentFile=-/etc/sysconfig/shorewall-lite +StandardOutput=syslog +ExecStart=/sbin/shorewall-lite $OPTIONS start +ExecStop=/sbin/shorewall-lite $OPTIONS stop + +[Install] +WantedBy=basic.target diff --git a/Shorewall/shorewall.service b/Shorewall/shorewall.service new file mode 100644 index 000000000..7124175cf --- /dev/null +++ b/Shorewall/shorewall.service @@ -0,0 +1,20 @@ +# +# The Shoreline Firewall (Shorewall) Packet Filtering Firewall +# +# Copyright 2011 Jonathan Underwood +# +[Unit] +Description=Shorewall IPv4 firewall +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 +ExecStop=/sbin/shorewall $OPTIONS stop + +[Install] +WantedBy=basic.target diff --git a/Shorewall6-lite/shorewall6-lite.service b/Shorewall6-lite/shorewall6-lite.service new file mode 100644 index 000000000..3f2f9dd01 --- /dev/null +++ b/Shorewall6-lite/shorewall6-lite.service @@ -0,0 +1,20 @@ +# +# The Shoreline Firewall (Shorewall) Packet Filtering Firewall +# +# Copyright 2011 Jonathan Underwood +# +[Unit] +Description=Shorewall IPv6 firewall (lite) +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 diff --git a/Shorewall6/shorewall6.service b/Shorewall6/shorewall6.service new file mode 100644 index 000000000..6a4a449a6 --- /dev/null +++ b/Shorewall6/shorewall6.service @@ -0,0 +1,20 @@ +# +# The Shoreline Firewall (Shorewall) Packet Filtering Firewall +# +# Copyright 2011 Jonathan Underwood +# +[Unit] +Description=Shorewall IPv6 firewall +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 +ExecStop=/sbin/shorewall6 $OPTIONS stop + +[Install] +WantedBy=basic.target