diff options
Diffstat (limited to 'nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/status_directory')
-rw-r--r-- | nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/status_directory | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/status_directory b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/status_directory new file mode 100644 index 0000000..5798d55 --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/dsa/status_directory @@ -0,0 +1,22 @@ +--- a/dsa/sbin/dsa-update-apt-status ++++ b/dsa/sbin/dsa-update-apt-status +@@ -22,7 +22,7 @@ + # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + UPDATE_RUNS=3 +-STATUSDIR=/var/cache/dsa/nagios ++STATUSDIR=/var/cache/nagios_status + STATUS="${STATUSDIR}"/apt + SLEEP_MAX=$(( 15 * 60 )) + MAX_AGE=$(( 23 * 60 * 60 )) +--- a/dsa/sbin/dsa-update-unowned-file-status ++++ b/dsa/sbin/dsa-update-unowned-file-status +@@ -22,7 +22,7 @@ + # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + CUTOFF=40 +-STATUSDIR=/var/cache/dsa/nagios ++STATUSDIR=/var/cache/nagios_status + STATUS="${STATUSDIR}"/nouser + + mkdir -p "${STATUSDIR}" |