blob: 5ed4fb73c6eaafda10eca18246d6d5a1143645ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[Unit]
Description=Knot Resolver Manager
Documentation=man:knot-resolver.systemd(7)
Wants=network-online.target
After=network-online.target
Before=nss-lookup.target
Wants=nss-lookup.target
[Service]
Type=notify
TimeoutStartSec=10s
ExecStart=@bin_dir@/knot-resolver --config=@etc_dir@/config.yaml
ExecReload=@bin_dir@/kresctl --socket @run_dir@/manager.sock reload
KillSignal=SIGINT
WorkingDirectory=@systemd_work_dir@
User=@user@
Group=@group@
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETPCAP
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_SETPCAP
[Install]
WantedBy=multi-user.target
|