chrony: does not support SIGHUP, requires /var/lib/chrony

Chrony drops privs after startup to user chrony, when restarting it
writes its state in /var/lib/chrony, so the directory needs to have
the correct permissions for that user.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-03-16 07:26:40 +01:00
parent 4ca2e2d8c4
commit f0e659c185
2 changed files with 3 additions and 2 deletions
@@ -0,0 +1 @@
d /var/lib/chrony 0755 chrony chrony
@@ -1,2 +1,2 @@
# Requires /etc/chrony.conf to star, see https://chrony.tuxfamily.org/doc/3.4/chrony.conf.html
service [2345789] env:-/etc/default/chronyd chronyd -n $CHRONY_ARGS -- Chrony NTP v3/v4 daemon
# Requires /etc/chrony.conf to start, see https://chrony.tuxfamily.org/doc/3.4/chrony.conf.html
service [2345789] <!> env:-/etc/default/chronyd chronyd -n $CHRONY_ARGS -- Chrony NTP v3/v4 daemon