[shorewall] Add initial attempt at a systemd service file
Jonathan G. Underwood
jgu at fedoraproject.org
Tue Mar 15 00:27:10 UTC 2011
commit 6b649d38421bf99ae9489db62614fea58665f7fe
Author: Jonathan G. Underwood <jonathan.underwood at gmail.com>
Date: Tue Mar 15 00:27:03 2011 +0000
Add initial attempt at a systemd service file
shorewall.service | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/shorewall.service b/shorewall.service
new file mode 100644
index 0000000..13d05ff
--- /dev/null
+++ b/shorewall.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Packet filtering 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
More information about the scm-commits
mailing list