summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2019-09-27 11:44:08 -0400
committerMike Gilbert <floppym@gentoo.org>2019-09-27 11:44:08 -0400
commitd0bb4e3f69326274eca874ade711541f4451ffd6 (patch)
tree9c97c6b5f60b628fb3149b7623be3a82eab0f073 /net-misc
parentnet-misc/asterisk-extra-sounds: Bump to EAPI 7 (diff)
downloadgentoo-d0bb4e3f69326274eca874ade711541f4451ffd6.tar.gz
gentoo-d0bb4e3f69326274eca874ade711541f4451ffd6.tar.bz2
gentoo-d0bb4e3f69326274eca874ade711541f4451ffd6.zip
net-misc/chrony: install chrony-wait.service and ntp-units.d
Closes: https://bugs.gentoo.org/695690 Package-Manager: Portage-2.3.75_p7, Repoman-2.3.17_p49 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/chrony/chrony-3.5-r2.ebuild (renamed from net-misc/chrony/chrony-3.5-r1.ebuild)3
-rw-r--r--net-misc/chrony/chrony-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/net-misc/chrony/chrony-3.5-r1.ebuild b/net-misc/chrony/chrony-3.5-r2.ebuild
index e280760fd28c..c1d5a7b717e3 100644
--- a/net-misc/chrony/chrony-3.5-r1.ebuild
+++ b/net-misc/chrony/chrony-3.5-r2.ebuild
@@ -122,5 +122,6 @@ src_install() {
insinto /etc/logrotate.d
newins "${FILESDIR}"/chrony-2.4-r1.logrotate chrony
- systemd_dounit examples/chronyd.service
+ systemd_dounit examples/{chronyd,chrony-wait}.service
+ systemd_enable_ntpunit 50-chrony chronyd.service
}
diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
index 5cac01a6dee7..e939129a01ac 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -118,5 +118,6 @@ src_install() {
insinto /etc/logrotate.d
newins "${FILESDIR}"/chrony-2.4-r1.logrotate chrony
- systemd_dounit examples/chronyd.service
+ systemd_dounit examples/{chronyd,chrony-wait}.service
+ systemd_enable_ntpunit 50-chrony chronyd.service
}