From 22d3c280de70895fe5df15d4f57a87be17362a51 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 29 Aug 2019 00:27:14 +0200 Subject: Move datafile lock into the database folder and keep the rest of run files outside of the volume (since UNIX domain sockets can't be created on GlusterFS) --- start-munin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'start-munin.sh') diff --git a/start-munin.sh b/start-munin.sh index e224de1..564eada 100755 --- a/start-munin.sh +++ b/start-munin.sh @@ -12,7 +12,7 @@ SMTP_MESSAGE_DEFAULT='[${var:group};${var:host}] -> ${var:graph_title} -> warnin SMTP_MESSAGE="${SMTP_MESSAGE:-$SMTP_MESSAGE_DEFAULT}" -mkdir -p /munin/{db,run,log,www/cache} +mkdir -p /munin/{db,log,www/cache} [ -a /munin/db/cgi-tmp ] || ln -s ../www/cache /munin/db/cgi-tmp [ -a /var/lib/munin/cgi-tmp ] || ln -s /munin/www/cache /var/lib/munin/cgi-tmp [ -a /var/log/nginx ] || ln -s /tmp /var/log/nginx -- cgit v1.2.1