aboutsummaryrefslogtreecommitdiff
path: root/foolsm.service
diff options
context:
space:
mode:
Diffstat (limited to 'foolsm.service')
-rw-r--r--foolsm.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/foolsm.service b/foolsm.service
new file mode 100644
index 0000000..7c74717
--- /dev/null
+++ b/foolsm.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Foolsm is the link status monitor
+Documentation=http://lsm.foobar.fi/
+Wants=network-online.target
+After=network-online.target shorewall.service shorewall6.service
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/foolsm --config /etc/foolsm/foolsm.conf --no-fork
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target