summarylogtreecommitdiffstats
path: root/irqtune-auto.service
diff options
context:
space:
mode:
authorKonstantin Shalygin2015-11-20 13:14:57 +0600
committerKonstantin Shalygin2015-11-20 13:14:57 +0600
commit5a6c8c1e3b48720ca14239a719797dc3841d72e0 (patch)
treebc842e21ab1b0c01f094f9617ba9bad587d52a2d /irqtune-auto.service
downloadaur-5a6c8c1e3b48720ca14239a719797dc3841d72e0.tar.gz
Initial commit
Diffstat (limited to 'irqtune-auto.service')
-rw-r--r--irqtune-auto.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/irqtune-auto.service b/irqtune-auto.service
new file mode 100644
index 000000000000..2838cc498576
--- /dev/null
+++ b/irqtune-auto.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Set IRQ via irq-tune
+After=network.target
+Wants=network.target
+Conflicts=irqtune.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/irq-tune -j /etc/irq-tune/irq.json -a
+
+[Install]
+WantedBy=network.target