mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
ntp: fix ntpd.service for systemd>=205 (ControlGroup obsolete).
This commit is contained in:
parent
12947f59a8
commit
9543a0509e
2 changed files with 3 additions and 5 deletions
|
@ -5,7 +5,6 @@ After=network.target nss-lookup.target
|
||||||
[Service]
|
[Service]
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
ExecStart=/usr/bin/ntpd -n -g -u ntpd:ntpd
|
ExecStart=/usr/bin/ntpd -n -g -u ntpd:ntpd
|
||||||
ControlGroup=cpu:/
|
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ntp'
|
# Template file for 'ntp'
|
||||||
pkgname=ntp
|
pkgname=ntp
|
||||||
version=4.2.6p5
|
version=4.2.6p5
|
||||||
revision=10
|
revision=11
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --with-lineeditlibs=readline"
|
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --with-lineeditlibs=readline"
|
||||||
hostmakedepends="bison perl-HTML-Parser"
|
hostmakedepends="bison perl-HTML-Parser"
|
||||||
|
@ -32,7 +32,7 @@ post_install() {
|
||||||
ntp-perl_package() {
|
ntp-perl_package() {
|
||||||
depends="ntp>=$version perl>=0"
|
depends="ntp>=$version perl>=0"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc="${short_desc} (perl scripts)"
|
short_desc+=" - perl scripts"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
for f in ntp-wait ntptrace; do
|
for f in ntp-wait ntptrace; do
|
||||||
vmove usr/bin/${f}
|
vmove usr/bin/${f}
|
||||||
|
@ -48,7 +48,6 @@ ntp_package() {
|
||||||
provides="ntp-daemon-0"
|
provides="ntp-daemon-0"
|
||||||
replaces="ntp-daemon>=0"
|
replaces="ntp-daemon>=0"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove etc
|
vmove all
|
||||||
vmove usr
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue