unbound.service: Use ConfigurationDirectory=@UNBOUND_SYSCONF_DIR@

This is configured when building Unbound, so use it.
This commit is contained in:
Paul Menzel 2021-04-27 16:20:26 +02:00
parent 17af5e199f
commit f2a2d9c1e9

View file

@ -64,7 +64,7 @@ ProtectControlGroups=true
ProtectKernelModules=true
ProtectSystem=strict
RuntimeDirectory=@UNBOUND_RUN_DIR@
ConfigurationDirectory=unbound
ConfigurationDirectory=@UNBOUND_SYSCONF_DIR@
StateDirectory=unbound
RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
RestrictRealtime=true