net-dns/knot: version bump + fixing some bugs
This commit is contained in:
parent
ffb238ef64
commit
2ca277cdc6
4 changed files with 34 additions and 15 deletions
|
|
@ -1,7 +1,6 @@
|
|||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
command=/usr/sbin/knotd
|
||||
command_args="-d"
|
||||
|
|
|
|||
17
net-dns/knot/files/knot.service-r1
Normal file
17
net-dns/knot/files/knot.service-r1
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