File: nsd.service

package info (click to toggle)
nsd 4.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,260 kB
  • sloc: ansic: 64,435; sh: 4,351; python: 2,085; yacc: 1,344; makefile: 688
file content (21 lines) | stat: -rw-r--r-- 730 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=NSD DNS Server
After=syslog.target network-online.target

[Service]
Type=simple
ExecStart=/usr/sbin/nsd -d -P "" -c /etc/nsd/nsd.conf $NSD_EXTRA_OPTS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=mixed
PrivateTmp=true
;
; If Type=notify is wanted, then nsd has to be compiled with --enable-systemd
; Also the systemd socket has to be available in chroot, if chroot is enabled.
;
; If SystemCallFilter is added for restrictions, omit ~@mount when also chroot
; is used, because it blocks the chroot call. Chroot may be enabled by default
; in NSD, it can be disabled in NSD with chroot: "" and in systemd
; ReadWritePaths could be used to restrict access to filesystem paths.

[Install]
WantedBy=multi-user.target