summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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