commit: cc97aacb8ff241534d745656aeded948d210d832
parent 3a9687bd0ccb50a68d737b5c4662657489ca1844
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 18 Jun 2022 05:41:38 +0200
net-misc/chrony: Fixup
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/net-misc/chrony/chrony-4.2-r2.ebuild b/net-misc/chrony/chrony-4.2-r2.ebuild
@@ -131,6 +131,7 @@ src_configure() {
--sysconfdir="${EPREFIX}/etc/chrony"
--with-hwclockfile="${EPREFIX}/etc/adjtime"
--with-pidfile="${EPREFIX}/run/chrony/chronyd.pid"
+ --with-user="ntp"
${EXTRA_ECONF}
)
diff --git a/net-misc/chrony/files/chronyd.init-r3 b/net-misc/chrony/files/chronyd.init-r3
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
command="/usr/sbin/chronyd"
-command_user="chrony"
+command_user="ntp"
command_args="-f \"${CFGFILE}\" ${ARGS}"
pidfile="/run/chrony/chrony.pid"
capabilities="^cap_sys_time"