Date: Sunday, June 10, 2012 @ 17:12:29 Author: dreisner Revision: 161391
cleanup unit, add PrivateTmp, unprivileged user, and cg controller Modified: ntp/trunk/ntpd.service --------------+ ntpd.service | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Modified: ntpd.service =================================================================== --- ntpd.service 2012-06-10 20:21:44 UTC (rev 161390) +++ ntpd.service 2012-06-10 21:12:29 UTC (rev 161391) @@ -1,12 +1,12 @@ [Unit] Description=Network Time Service -After=network.target +BindTo=systemd-timedated-ntp.target [Service] Type=forking -PIDFile=/run/ntpd.pid -EnvironmentFile=/etc/conf.d/ntpd.conf -ExecStart=/usr/bin/ntpd $NTPD_ARGS -p /run/ntpd.pid +PrivateTmp=true +ExecStart=/usr/bin/ntpd -u ntp:ntp +ControlGroup=cpu:/ [Install] WantedBy=multi-user.target
