diff options
author | David Runge <dave@sleepmap.de> | 2015-03-25 02:21:08 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-03-25 02:21:08 +0100 |
commit | ff0b8e731465736817cd9464fa2cbfe04ea0569a (patch) | |
tree | e91236d56f2fc193978f74056efac834957e0c71 /system | |
parent | fb157a8abe4cc86da524fc01318a4b38883226f7 (diff) | |
download | rts-ff0b8e731465736817cd9464fa2cbfe04ea0569a.tar.gz rts-ff0b8e731465736817cd9464fa2cbfe04ea0569a.tar.bz2 rts-ff0b8e731465736817cd9464fa2cbfe04ea0569a.tar.xz rts-ff0b8e731465736817cd9464fa2cbfe04ea0569a.zip |
rt-settings@.service: Adding profile based systemd service.
Diffstat (limited to 'system')
-rw-r--r-- | system/rt-settings@.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/rt-settings@.service b/system/rt-settings@.service new file mode 100644 index 0000000..84bbdba --- /dev/null +++ b/system/rt-settings@.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 %i +RemainAfterExit=true + +[Install] +WantedBy=multi-user.target |