This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_SETPCAP
-
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETPCAP
-
Environment="KNOT_ZONE_LOAD_TIMEOUT_SEC=180" "KNOT_CONF_MAX_SIZE=512"
-
EnvironmentFile=/etc/default/knot
-
ExecReload=/bin/kill -HUP $MAINPID
-
ExecStart=/usr/sbin/knotd -m "$KNOT_CONF_MAX_SIZE"
-
ExecStart=/usr/sbin/knotd -m "$KNOT_CONF_MAX_SIZE" $KNOTD_ARGS
-
ExecStartPre=/usr/sbin/knotc conf-check
-
Group=knot
-
LimitNOFILE=1048576
-
NoNewPrivileges
Introduced in systemd 239=yes -
Restart=on-abort
-
RuntimeDirectory=knot
-
StateDirectory=knot
-
TimeoutStopSec
Introduced in systemd 188=300 -
Type=notify
-
User=knot
-
-
[Unit]
-
After=network-online.target
-
Description=Knot DNS server
-
Documentation=man:knotd(8) man:knot.conf(5) man:knotc(8)
-
Wants=network-online.target
-
Additionnal notes
Nothing here.