diff --git a/Shorewall-init/shorewall-init.service b/Shorewall-init/shorewall-init.service new file mode 100644 index 000000000..83044b5c3 --- /dev/null +++ b/Shorewall-init/shorewall-init.service @@ -0,0 +1,16 @@ +[Unit] +Description=Shorewall IPv4 firewall +After=syslog.target +Before=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +EnvironmentFile=-/etc/sysconfig/shorewall-init +StandardOutput=syslog +ExecStart=/sbin/shorewall-init $OPTIONS start +ExecReload=/sbin/shorewall-init $OPTIONS restart +ExecStop=/sbin/shorewall-init $OPTIONS stop + +[Install] +WantedBy=multi-user.target diff --git a/Shorewall-lite/shorewall-lite.service b/Shorewall-lite/shorewall-lite.service new file mode 100644 index 000000000..d93eb09e8 --- /dev/null +++ b/Shorewall-lite/shorewall-lite.service @@ -0,0 +1,16 @@ +[Unit] +Description=Shorewall IPv4 firewall (lite) +After=syslog.target +After=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +EnvironmentFile=-/etc/sysconfig/shorewall-lite +StandardOutput=syslog +ExecStart=/sbin/shorewall-lite $OPTIONS start +ExecReload=/sbin/shorewall-lite $OPTIONS restart +ExecStop=/sbin/shorewall-lite $OPTIONS stop + +[Install] +WantedBy=multi-user.target diff --git a/Shorewall/shorewall.service b/Shorewall/shorewall.service new file mode 100644 index 000000000..6937b0011 --- /dev/null +++ b/Shorewall/shorewall.service @@ -0,0 +1,16 @@ +[Unit] +Description=Shorewall IPv4 firewall +After=syslog.target +After=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +EnvironmentFile=-/etc/sysconfig/shorewall +StandardOutput=syslog +ExecStart=/sbin/shorewall $OPTIONS start +ExecReload=/sbin/shorewall $OPTIONS restart +ExecStop=/sbin/shorewall $OPTIONS stop + +[Install] +WantedBy=multi-user.target diff --git a/Shorewall6-lite/shorewall6-lite.service b/Shorewall6-lite/shorewall6-lite.service new file mode 100644 index 000000000..bb7e49366 --- /dev/null +++ b/Shorewall6-lite/shorewall6-lite.service @@ -0,0 +1,16 @@ +[Unit] +Description=Shorewall IPv6 firewall (lite) +After=syslog.target +After=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +EnvironmentFile=-/etc/sysconfig/shorewall6-lite +StandardOutput=syslog +ExecStart=/sbin/shorewall6-lite $OPTIONS start +ExecReload=/sbin/shorewall6-lite $OPTIONS restart +ExecStop=/sbin/shorewall6-lite $OPTIONS stop + +[Install] +WantedBy=multi-user.target diff --git a/Shorewall6/shorewall6.service b/Shorewall6/shorewall6.service new file mode 100644 index 000000000..c2c60dd85 --- /dev/null +++ b/Shorewall6/shorewall6.service @@ -0,0 +1,16 @@ +[Unit] +Description=Shorewall IPv6 firewall +After=syslog.target +After=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +EnvironmentFile=-/etc/sysconfig/shorewall6 +StandardOutput=syslog +ExecStart=/sbin/shorewall6 $OPTIONS start +ExecReload=/sbin/shorewall6 $OPTIONS restart +ExecStop=/sbin/shorewall6 $OPTIONS stop + +[Install] +WantedBy=multi-user.target