net-misc/chrony: install chrony-wait.service and ntp-units.d
authorMike Gilbert <floppym@gentoo.org>
Fri, 27 Sep 2019 15:44:08 +0000 (11:44 -0400)
committerMike Gilbert <floppym@gentoo.org>
Fri, 27 Sep 2019 15:44:08 +0000 (11:44 -0400)
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>
net-misc/chrony/chrony-3.5-r2.ebuild [moved from net-misc/chrony/chrony-3.5-r1.ebuild with 96% similarity]
net-misc/chrony/chrony-9999.ebuild

similarity index 96%
rename from net-misc/chrony/chrony-3.5-r1.ebuild
rename to net-misc/chrony/chrony-3.5-r2.ebuild
index e280760fd28c70e037356bad90adfa8256b9be28..c1d5a7b717e30075724fe820c921437cda5f384c 100644 (file)
@@ -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
 }
index 5cac01a6dee7e4a4efd6c516856c172cd31aee1f..e939129a01acd0f6d388bec1c0d4e2260d1ff690 100644 (file)
@@ -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
 }