aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/systemd/system/usrp-hwd.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/systemd/system/usrp-hwd.service.in')
-rw-r--r--mpm/systemd/system/usrp-hwd.service.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/mpm/systemd/system/usrp-hwd.service.in b/mpm/systemd/system/usrp-hwd.service.in
new file mode 100644
index 000000000..4da4a31dc
--- /dev/null
+++ b/mpm/systemd/system/usrp-hwd.service.in
@@ -0,0 +1,14 @@
+[Unit]
+Description=USRP Hardware Daemon (MPM)
+
+[Service]
+ExecStart=@CMAKE_INSTALL_PREFIX@/bin/usrp_hwd.py
+WatchdogSec=30
+Type=notify
+Restart=on-failure
+StartLimitInterval=2min
+StartLimitBurst=4
+StartLimitAction=none
+
+[Install]
+WantedBy=multi-user.target