aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/systemd/system/usrp-adc-self-cal.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/systemd/system/usrp-adc-self-cal.service.in')
-rw-r--r--mpm/systemd/system/usrp-adc-self-cal.service.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/mpm/systemd/system/usrp-adc-self-cal.service.in b/mpm/systemd/system/usrp-adc-self-cal.service.in
new file mode 100644
index 000000000..cb09c36dc
--- /dev/null
+++ b/mpm/systemd/system/usrp-adc-self-cal.service.in
@@ -0,0 +1,15 @@
+[Unit]
+Description=Boot-time self-calibration of @UHD_SELF_CAL_SERIES@ devices
+Requires=usrp-hwd.service
+After=usrp-hwd.service
+
+After=network.target
+Requires=network.target
+
+[Service]
+ExecStart=@CMAKE_INSTALL_PREFIX@/bin/uhd_adc_self_cal --args @UHD_SELF_CAL_ARGS@
+Type=simple
+User=root
+
+[Install]
+WantedBy=multi-user.target