net-dns/knot: missing dep + mips compatibility + enhanced security with systemd
Add dev-python/lmdb, thanks to Karl-Johan Karlson for the report
Enhance security with systemd service file thanks to hexum
Integrate MIPS compatibility patch, upstreamed: 5cf2d1acf8
Also fix QA issue with /var/run/knot created by make install
Gentoo-Bug: #606644
Gentoo-Bug: #623252
This commit is contained in:
parent
63b4e7bb42
commit
de9e4d43aa
5 changed files with 195 additions and 52 deletions
17
net-dns/knot/files/knot-1.service
Normal file
17
net-dns/knot/files/knot-1.service
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=Knot high-performance DNS Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/knotd
|
||||
ExecReload=/usr/sbin/knotc reload
|
||||
ExecStop=/usr/sbin/knotc stop
|
||||
PrivateTmp=true
|
||||
User=knot
|
||||
Group=knot
|
||||
RuntimeDirectory=knot
|
||||
RuntimeDirectoryMode=750
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue