named-chroot.service

This unit is provided by:

Options

  • [Install]
  • [Service]
    • Environment=NAMEDCONF=/etc/named.conf KRB5_KTNAME=/etc/named.keytab
    • EnvironmentFile=-/etc/sysconfig/named
    • ExecReload=/bin/sh -c 'if /usr/sbin/rndc null > /dev/null 2>&1; then /usr/sbin/rndc reload; else /bin/kill -HUP $MAINPID; fi'
    • ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} -t /var/named/chroot $OPTIONS
    • ExecStartPre=/bin/bash -c 'if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/bin/named-checkconf -t /var/named/chroot -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi'
    • ExecStop=/bin/sh -c '/usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID'
    • PIDFile=/var/named/chroot/run/named/named.pid
    • PrivateTmp=no
    • Restart=on-abnormal
    • Type=forking
  • [Unit]
    • After=named-chroot-setup.service network.target
    • Before=nss-lookup.target
    • Description=Berkeley Internet Name Domain (DNS)
    • Requires=named-chroot-setup.service
    • Wants=nss-lookup.target

Additionnal notes

Nothing here.