aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/rts.service2
-rw-r--r--system/rts@.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/rts.service b/system/rts.service
index bb51de3..20ef2b5 100644
--- a/system/rts.service
+++ b/system/rts.service
@@ -1,8 +1,8 @@
[Unit]
Description=Apply Realtime-Kernel specific settings
After=multi-user.target sound.target
-ConditionKernelCommandLine=systemd.setenv=REALTIME=true
ConditionFileIsExecutable=/usr/bin/tuna
+ConditionFileNotEmpty=/sys/kernel/realtime
[Service]
Type=oneshot
diff --git a/system/rts@.service b/system/rts@.service
index 156b80f..c007517 100644
--- a/system/rts@.service
+++ b/system/rts@.service
@@ -1,8 +1,8 @@
[Unit]
Description=Apply Realtime-Kernel specific settings according to a profile
After=multi-user.target sound.target
-ConditionKernelCommandLine=systemd.setenv=REALTIME=true
ConditionFileIsExecutable=/usr/bin/tuna
+ConditionFileNotEmpty=/sys/kernel/realtime
[Service]
Type=oneshot