aboutsummaryrefslogtreecommitdiff
path: root/lsm.service
diff options
context:
space:
mode:
Diffstat (limited to 'lsm.service')
-rw-r--r--lsm.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/lsm.service b/lsm.service
new file mode 100644
index 0000000..4b3ed8c
--- /dev/null
+++ b/lsm.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=LSM 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/lsm --config /etc/lsm/lsm.conf --no-fork
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target