diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-08-29 00:27:14 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-08-29 00:27:14 +0200 |
commit | 22d3c280de70895fe5df15d4f57a87be17362a51 (patch) | |
tree | fa7e7c36ffce89fcf5d4f4e609bc76f2417613fb /start-munin.sh | |
parent | d6e30533d7730331452c5f61a98c9d1eec486a0b (diff) | |
download | munin-22d3c280de70895fe5df15d4f57a87be17362a51.tar.gz munin-22d3c280de70895fe5df15d4f57a87be17362a51.tar.bz2 munin-22d3c280de70895fe5df15d4f57a87be17362a51.tar.xz munin-22d3c280de70895fe5df15d4f57a87be17362a51.zip |
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)
Diffstat (limited to 'start-munin.sh')
-rwxr-xr-x | start-munin.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |