From 6a486b088b957a2af6d1dfeb692ecef6ec8c5e06 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 5 Oct 2019 09:07:54 +0200 Subject: Optimize dockerfile --- patches/munin-ds-datalock.patch | 11 ----------- patches/munin-graph-logging.patch | 10 ---------- patches/munin-update-logging.patch | 10 ---------- 3 files changed, 31 deletions(-) delete mode 100644 patches/munin-ds-datalock.patch delete mode 100644 patches/munin-graph-logging.patch delete mode 100644 patches/munin-update-logging.patch (limited to 'patches') diff --git a/patches/munin-ds-datalock.patch b/patches/munin-ds-datalock.patch deleted file mode 100644 index 3ec249b..0000000 --- a/patches/munin-ds-datalock.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Munin/Master/Update.pm -+++ Munin-ds/Master/Update.pm -@@ -265,7 +265,7 @@ - sub _write_new_service_configs_locked { - my ($self) = @_; - -- my $lock_file = "$config->{rundir}/munin-datafile.lock"; -+ my $lock_file = "$config->{dbdir}/datafile.lock"; - munin_runlock($lock_file); - - my $config_dump_file = $self->{config_dump_file}; diff --git a/patches/munin-graph-logging.patch b/patches/munin-graph-logging.patch deleted file mode 100644 index aa4fc56..0000000 --- a/patches/munin-graph-logging.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- /usr/share/munin/munin-graph 2015-11-28 00:45:25.274878597 +0100 -+++ /usr/share/munin/munin-graph 2015-11-28 00:45:44.622466044 +0100 -@@ -73,6 +73,7 @@ - - logger_open($config->{'logdir'}); - logger_debug() if $config->{debug} or defined($ENV{CGI_DEBUG}); -+logger_level("warn"); - - if (! graph_check_cron() ) { - # Should not be launched from cron. diff --git a/patches/munin-update-logging.patch b/patches/munin-update-logging.patch deleted file mode 100644 index 4f8e87b..0000000 --- a/patches/munin-update-logging.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- /usr/share/munin/munin-update 2015-11-28 00:44:27.175435050 +0100 -+++ /usr/share/munin/munin-update 2015-11-28 00:44:57.313544402 +0100 -@@ -34,6 +34,7 @@ - - logger_open($config->{'logdir'}); - logger_debug() if $config->{debug}; -+ logger_level("warn"); - - my $update = Munin::Master::Update->new(); - $update->run(); -- cgit v1.2.3