ntp: fix ntpd.service for systemd>=205 (ControlGroup obsolete).
This commit is contained in:
parent
12947f59a8
commit
9543a0509e
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue