ntp: fix ntpd.service for systemd>=205 (ControlGroup obsolete).

This commit is contained in:
Juan RP 2013-07-19 10:06:43 +02:00
parent 12947f59a8
commit 9543a0509e
2 changed files with 3 additions and 5 deletions

View File

@ -5,7 +5,6 @@ After=network.target nss-lookup.target
[Service]
PrivateTmp=true
ExecStart=/usr/bin/ntpd -n -g -u ntpd:ntpd
ControlGroup=cpu:/
Restart=always
[Install]

View File

@ -1,7 +1,7 @@
# Template file for 'ntp'
pkgname=ntp
version=4.2.6p5
revision=10
revision=11
build_style=gnu-configure
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --with-lineeditlibs=readline"
hostmakedepends="bison perl-HTML-Parser"
@ -32,7 +32,7 @@ post_install() {
ntp-perl_package() {
depends="ntp>=$version perl>=0"
noarch=yes
short_desc="${short_desc} (perl scripts)"
short_desc+=" - perl scripts"
pkg_install() {
for f in ntp-wait ntptrace; do
vmove usr/bin/${f}
@ -48,7 +48,6 @@ ntp_package() {
provides="ntp-daemon-0"
replaces="ntp-daemon>=0"
pkg_install() {
vmove etc
vmove usr
vmove all
}
}