mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-04 00:17:06 +00:00
store munin files in MiaB storage dir
This commit is contained in:
parent
2921a77edc
commit
6d3d2ceb82
@ -10,9 +10,12 @@ echo "Installing Munin (system monitoring)..."
|
|||||||
apt_install munin munin-node libcgi-fast-perl munin-plugins-extra
|
apt_install munin munin-node libcgi-fast-perl munin-plugins-extra
|
||||||
# libcgi-fast-perl is needed by /usr/lib/munin/cgi/munin-cgi-graph
|
# libcgi-fast-perl is needed by /usr/lib/munin/cgi/munin-cgi-graph
|
||||||
|
|
||||||
|
mkdir -p $STORAGE_ROOT/munin
|
||||||
|
chown munin:munin $STORAGE_ROOT/munin
|
||||||
|
|
||||||
# edit config
|
# edit config
|
||||||
cat > /etc/munin/munin.conf <<EOF;
|
cat > /etc/munin/munin.conf <<EOF;
|
||||||
dbdir /var/lib/munin
|
dbdir $STORAGE_ROOT/munin
|
||||||
htmldir /var/cache/munin/www
|
htmldir /var/cache/munin/www
|
||||||
logdir /var/log/munin
|
logdir /var/log/munin
|
||||||
rundir /var/run/munin
|
rundir /var/run/munin
|
||||||
|
Loading…
Reference in New Issue
Block a user