| diff --git a/examples/chronyd.service b/examples/chronyd.service |
| index 4fb930e..398f51e 100644 |
| --- a/examples/chronyd.service |
| +++ b/examples/chronyd.service |
| @@ -9,7 +9,9 @@ ConditionCapability=CAP_SYS_TIME |
| Type=forking |
| PIDFile=/run/chrony/chronyd.pid |
| EnvironmentFile=-/etc/sysconfig/chronyd |
| -ExecStart=/usr/sbin/chronyd $OPTIONS |
| +ExecStartPre=mkdir -p /var/lib/chrony |
| +ExecStartPre=install -m 744 -o ntp -g ntp -d /var/lib/chrony |
| +ExecStart=/usr/sbin/chronyd $OPTIONS -u ntp -F 2 |
| |
| CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE |
| CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_KILL CAP_LEASE CAP_LINUX_IMMUTABLE |
| -- |
| 2.36.0.rc0.470.gd361397f0d-goog |
| |