From 0d271cbb09ea972162449ddeb245184b62582565 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Wed, 17 May 2017 14:50:10 +0000 Subject: [PATCH] - Fix #1265: contrib/unbound.service contains hardcoded path. git-svn-id: file:///svn/unbound/trunk@4171 be551aaa-1e26-0410-a405-d3ace91eadb9 --- contrib/unbound.service.in | 6 +++--- doc/Changelog | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/contrib/unbound.service.in b/contrib/unbound.service.in index 3ddadfa95..6008c1fce 100644 --- a/contrib/unbound.service.in +++ b/contrib/unbound.service.in @@ -6,8 +6,8 @@ Documentation=man:unbound(8) WantedBy=multi-user.target [Service] -ExecReload=/bin/kill -HUP $MAINPID -ExecStart=/home/vagrant/unbound_systemd/unbound +ExecReload=@bindir@/kill -HUP $MAINPID +ExecStart=@sbindir@/unbound NotifyAccess=main Type=notify CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_CHROOT @@ -20,7 +20,7 @@ ProtectControlGroups=true ProtectKernelModules=true ProtectKernelTunables=true ProtectSystem=strict -ReadWritePaths=/etc/unbound /run +ReadWritePaths=@sysconfdir@ @localstatedir@ /run RestrictAddressFamilies=AF_INET AF_UNIX RestrictRealtime=true SystemCallArchitectures=native diff --git a/doc/Changelog b/doc/Changelog index 7899cdeef..acf73e0b8 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,4 +1,7 @@ -16 May 2017: George +17 May 2017: Wouter + - Fix #1265: contrib/unbound.service contains hardcoded path. + +17 May 2017: George - Use qstate's region for IPSECKEY rrset (ipsecmod). 16 May 2017: George