mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 00:58:39 -04:00
The lock-file configuration (both from configuration file and -X argument to named) has better alternatives nowadays. Modern process supervisor should be used to ensure that a single named process is running on a given configuration. Alternatively, it's possible to wrap the named with flock(1).
36 lines
1 KiB
Bash
36 lines
1 KiB
Bash
#!/bin/sh
|
|
|
|
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
#
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
#
|
|
# See the COPYRIGHT file distributed with this work for additional
|
|
# information regarding copyright ownership.
|
|
|
|
rm -f dig.out.*
|
|
rm -f ns*/*.jnl
|
|
rm -f ns*/*.mkeys
|
|
rm -f ns*/*.nzd ns*/*.nzd-lock
|
|
rm -f ns*/*.nzf
|
|
rm -f ns*/managed-keys.bind*
|
|
rm -f ns*/named.conf
|
|
rm -f ns*/named.memstats
|
|
rm -f ns*/named.run
|
|
rm -f ns*/named.run.prev
|
|
rm -f ns1/*dom*example.db
|
|
rm -f ns1/tls1.example.db
|
|
rm -f ns2/__catz__*db
|
|
rm -f ns2/catalog-bad*.db
|
|
rm -f ns2/named.conf.tmp
|
|
rm -f ns3/dom2.example.db ns3/dom13.example.db ns3/dom14.example.db ns3/dom17.example.db ns3/dom18.example.db
|
|
rm -f ns4/__catz__*db
|
|
rm -f ns4/catalog-self.example.db
|
|
rm -f ns[123]/catalog[1234].example.db
|
|
rm -f ns[14]/catalog-tls.example.db
|
|
rm -f nsupdate.out.*
|
|
rm -f wait_for_message.*
|
|
rm -rf ns2/zonedir
|