~m-grant-prg/dnsmasq-logrotate/buster

« back to all changes in this revision

Viewing changes to src/prg/bash/dnsmasq-postrotate.sh.in

  • Committer: Mark Grant
  • Date: 2021-11-08 09:54:43 UTC
  • mfrom: (42.1.5 buster-trunk)
  • Revision ID: m.grant.prg@gmail.com-20211108095443-3qmi4tqv2zo1qdv9
Merge from buster-trunk.

* New upstream release.
* New upstream development release.
* Update Copyright for 2021.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#########################################################################
10
10
#                                                                       #
11
11
# Script ID: dnsmasq-postrotate.sh                                      #
12
 
# Author: Copyright (C) 2018-2019, 2021  Mark Grant                     #
 
12
# Author: Copyright (C) 2018-2019  Mark Grant                           #
13
13
#                                                                       #
14
14
# Released under the GPLv3 only.                                        #
15
 
# SPDX-License-Identifier: GPL-3.0-only                                 #
 
15
# SPDX-License-Identifier: GPL-3.0                                      #
16
16
#                                                                       #
17
17
# Purpose:                                                              #
18
18
# To ask the daemon to re-open it's log file which is necessary after   #
104
104
#                               via configure.                          #
105
105
# 10/08/2019    MG      1.0.7   Correct getopt CL for proper quoting.   #
106
106
# 11/10/2019    MG      1.0.8   Move script_exit() before it is used.   #
107
 
# 22/11/2021    MG      1.0.9   Tighten SPDX tag.                       #
108
107
#                                                                       #
109
108
#########################################################################
110
109
 
112
111
# Script-wide variables #
113
112
#########################
114
113
readonly outputprefix="$(basename $0):"
115
 
readonly version=1.0.9                          # script version
 
114
readonly version=1.0.8                          # script version
116
115
readonly packageversion=@pkgversion@            # package version
117
116
 
118
117
readonly logrotatefile="@sysconfdir@/logrotate.d/dnsmasq"