mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-18 18:25:10 -05:00
Add UNBOUND_CHROOT_DIR to chown service.
This commit is contained in:
parent
8b0b340cd6
commit
87367232cf
1 changed files with 2 additions and 1 deletions
|
|
@ -61,6 +61,7 @@ WantedBy=multi-user.target
|
|||
|
||||
[Service]
|
||||
ExecStart=/bin/chown -R unbound:unbound @UNBOUND_RUN_DIR@
|
||||
ExecStart=/bin/chown -R unbound:unbound @UNBOUND_CHROOT_DIR@
|
||||
ExecStart=/bin/chown unbound:unbound @UNBOUND_ROOTKEY_FILE@
|
||||
NotifyAccess=main
|
||||
Type=oneshot
|
||||
|
|
@ -85,4 +86,4 @@ SystemCallArchitectures=native
|
|||
RestrictNamespaces=yes
|
||||
LockPersonality=yes
|
||||
RestrictSUIDSGID=yes
|
||||
ReadWritePaths=@UNBOUND_RUN_DIR@ @UNBOUND_ROOTKEY_FILE@
|
||||
ReadWritePaths=@UNBOUND_RUN_DIR@ @UNBOUND_CHROOT_DIR@ @UNBOUND_ROOTKEY_FILE@
|
||||
|
|
|
|||
Loading…
Reference in a new issue