[shorewall] Add shorewall-lite.service

Jonathan G. Underwood jgu at fedoraproject.org
Tue Mar 22 23:44:03 UTC 2011


commit f57c187874da9d1cffaf8f08476ee5929eaa0fe4
Author: Jonathan G. Underwood <jonathan.underwood at gmail.com>
Date:   Tue Mar 22 23:41:52 2011 +0000

    Add shorewall-lite.service

 shorewall-lite.service |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/shorewall-lite.service b/shorewall-lite.service
new file mode 100644
index 0000000..d93eb09
--- /dev/null
+++ b/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


More information about the scm-commits mailing list