add chronyd.service hardening based on not using sendmail

This reverts the extra directives included in the standard
chronyd.service for supporting sendmail.
This commit is contained in:
Daniel Micay 2024-12-19 11:35:31 -05:00
parent ad7a380ae9
commit e40fb1bd4e

View File

@ -1,5 +1,9 @@
[Service]
NoNewPrivileges=yes
ReadWritePaths=
ReadWritePaths=/run /var/lib/chrony -/var/log
Restart=always
RestartMaxDelaySec=10s
RestartSec=100ms
RestartSteps=5
RestrictAddressFamilies=~AF_NETLINK