diff options
Diffstat (limited to 'net-dns/knot/files/knot.service')
-rw-r--r-- | net-dns/knot/files/knot.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-dns/knot/files/knot.service b/net-dns/knot/files/knot.service new file mode 100644 index 000000000000..4684f9c858e2 --- /dev/null +++ b/net-dns/knot/files/knot.service @@ -0,0 +1,14 @@ +[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 +RuntimeDirectory=knot +RuntimeDirectoryMode=750 + +[Install] +WantedBy=multi-user.target |