Blame SOURCES/named-pkcs11.service

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