/[packages]/cauldron/bind/current/SOURCES/named-chroot.service
ViewVC logotype

Contents of /cauldron/bind/current/SOURCES/named-chroot.service

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1345740 - (show annotations) (download)
Fri Dec 28 17:50:01 2018 UTC (11 months, 1 week ago) by guillomovitch
File size: 891 byte(s)
- split shared libraries in subpackages
- sync with fedora setup:
 - use /var/named/chroot and /var/named/chroot_sdb as chroot roots
 - ship chroot files and systemd units in distinct subpackages
 - use fedora setup-named-chroot script

1 [Unit]
2 Description=Berkeley Internet Name Domain (DNS)
3 Wants=nss-lookup.target
4 Requires=named-chroot-setup.service
5 Before=nss-lookup.target
6 After=named-chroot-setup.service
7 After=network.target
8
9 [Service]
10 Type=forking
11 Environment=NAMEDCONF=/etc/named.conf
12 EnvironmentFile=-/etc/sysconfig/named
13 Environment=KRB5_KTNAME=/etc/named.keytab
14 PIDFile=/var/named/chroot/run/named/named.pid
15
16 ExecStartPre=/bin/bash -c 'if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -t /var/named/chroot -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi'
17 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} -t /var/named/chroot $OPTIONS
18
19 ExecReload=/bin/sh -c '/usr/sbin/rndc reload > /dev/null 2>&1 || /bin/kill -HUP $MAINPID'
20
21 ExecStop=/bin/sh -c '/usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID'
22
23 PrivateTmp=false
24
25 [Install]
26 WantedBy=multi-user.target

  ViewVC Help
Powered by ViewVC 1.1.26