aboutsummaryrefslogtreecommitdiffstats
path: root/system/rts.service
diff options
context:
space:
mode:
Diffstat (limited to 'system/rts.service')
-rw-r--r--system/rts.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/rts.service b/system/rts.service
new file mode 100644
index 0000000..b458172
--- /dev/null
+++ b/system/rts.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Apply Realtime-Kernel specific settings
+After=multi-user.target sound.target
+ConditionKernelCommandLine=systemd.setenv=REALTIME=true
+ConditionFileIsExecutable=/usr/bin/tuna
+
+[Service]
+Type=oneshot
+ExecStart=/usr/lib/systemd/scripts/rt-settings
+RemainAfterExit=true
+
+[Install]
+WantedBy=multi-user.target