From a2d1eac36b95a99f154a8a6a62f3d253a5848d19 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 22 Mar 2015 01:19:57 +0100 Subject: rt-settings: Adding first systemd service and script. The script will source every file in /etc/rt-settings.d/* --- system/rt-settings.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 system/rt-settings.service (limited to 'system/rt-settings.service') diff --git a/system/rt-settings.service b/system/rt-settings.service new file mode 100644 index 0000000..b458172 --- /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 +RemainAfterExit=true + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-70-g09d2