summaryrefslogtreecommitdiff
path: root/systemd.service
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-05-15 00:55:34 +0200
committerChristian Pointner <equinox@spreadspace.org>2015-05-15 00:55:34 +0200
commitfe4f8048bdc2491a146e9486af8e75ee5db1f794 (patch)
tree51cf61bf707e22270a163a1ceea04e088cc326c8 /systemd.service
parentfixed some typos (diff)
addes systemd service unit
Diffstat (limited to 'systemd.service')
-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