summaryrefslogtreecommitdiffstats
path: root/files/patches/munin-ds-datalock.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-05 09:07:54 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-05 09:07:54 +0200
commit6a486b088b957a2af6d1dfeb692ecef6ec8c5e06 (patch)
tree9832c92a1a20ae2f8b3627248e4784442befb7d7 /files/patches/munin-ds-datalock.patch
parent6348285571e9877990317303b5508b737686faef (diff)
downloadmunin-6a486b088b957a2af6d1dfeb692ecef6ec8c5e06.tar.gz
munin-6a486b088b957a2af6d1dfeb692ecef6ec8c5e06.tar.bz2
munin-6a486b088b957a2af6d1dfeb692ecef6ec8c5e06.tar.xz
munin-6a486b088b957a2af6d1dfeb692ecef6ec8c5e06.zip
Optimize dockerfileHEADmaster
Diffstat (limited to 'files/patches/munin-ds-datalock.patch')
-rw-r--r--files/patches/munin-ds-datalock.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/files/patches/munin-ds-datalock.patch b/files/patches/munin-ds-datalock.patch
new file mode 100644
index 0000000..3ec249b
--- /dev/null
+++ b/files/patches/munin-ds-datalock.patch
@@ -0,0 +1,11 @@
+--- 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};