[ntp/f17] allow service to set realtime scheduler (#810801)

Miroslav Lichvar mlichvar at fedoraproject.org
Fri Apr 27 08:31:22 UTC 2012


commit 46a795d63a0ed6d303b40031a3562123ab7289ad
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Fri Apr 27 09:55:17 2012 +0200

    allow service to set realtime scheduler (#810801)

 ntpd.service |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/ntpd.service b/ntpd.service
index 2bfe3e8..a5766e5 100644
--- a/ntpd.service
+++ b/ntpd.service
@@ -7,6 +7,7 @@ Type=forking
 EnvironmentFile=/etc/sysconfig/ntpd
 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS
 PrivateTmp=true
+ControlGroup=cpu:/
 
 [Install]
 WantedBy=multi-user.target


More information about the scm-commits mailing list