summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-05-14 22:55:34 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2015-05-14 22:55:34 (GMT)
commitfe4f8048bdc2491a146e9486af8e75ee5db1f794 (patch)
tree51cf61bf707e22270a163a1ceea04e088cc326c8
parentcd697d5ed179b0d34d405905caeedc90e2eb7f81 (diff)
addes systemd service unit
-rw-r--r--systemd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd.service b/systemd.service
new file mode 100644
index 0000000..a3ba8d0
--- /dev/null
+++ b/systemd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=simple and safe firewall loader
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/local/sbin/saswall start
+ExecStop=/usr/local/sbin/saswall stop
+ExecReload=/usr/local/sbin/saswall reload
+
+[Install]
+WantedBy=multi-user.target