summarylogtreecommitdiffstats
path: root/mpss-daemon.service
diff options
context:
space:
mode:
authorMarcel Huber2016-08-02 15:52:23 +0200
committerMarcel Huber2016-08-05 08:18:28 +0200
commitec74303d1f40e37209d71a7fff32ad9c9e70b2e6 (patch)
tree724fdf4881d48f4dbdc6f8ef9245af445f359f91 /mpss-daemon.service
parentfc830822e0e7c5ec00455ffbd63203e04a4d27b7 (diff)
downloadaur-ec74303d1f40e37209d71a7fff32ad9c9e70b2e6.tar.gz
build everything needed to start using the card
- not use github repos but patch files directly - added download urls - as we already need to have all three *master* tar files present, it is easier to apply changes directly
Diffstat (limited to 'mpss-daemon.service')
-rwxr-xr-xmpss-daemon.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/mpss-daemon.service b/mpss-daemon.service
new file mode 100755
index 00000000000..a2baaaf81b9
--- /dev/null
+++ b/mpss-daemon.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Intel(R) MPSS control service
+After=nfs-server.service
+
+[Service]
+Type=forking
+ExecStartPre=/usr/bin/bash -c '. /etc/mpss/mpss.common; mic_check'
+ExecStartPre=/usr/bin/bash -c '. /etc/mpss/mpss.common; mic_load_modules'
+ExecStart=/usr/bin/mpssd --pidfile /var/run/mpssd.pid
+ExecStartPost=/usr/bin/micctrl -w
+ExecStartPost=/usr/bin/micctrl -s
+ExecStopPost=/usr/bin/micctrl -w
+#ExecStopPost=/usr/bin/bash -c '. /etc/mpss/mpss.common; mic_unload_modules'
+TimeoutSec=300
+KillSignal=SIGQUIT
+
+[Install]
+WantedBy=multi-user.target