bugs corrections

This commit is contained in:
Jeremy MANSON 2016-03-07 16:13:27 +01:00
parent ed485b40f3
commit 34ea0ba9b4
2 changed files with 8 additions and 3 deletions

View File

@ -28,7 +28,8 @@
sub_filter_once off;
# All patterns that should be rewritten
# sub_filter "href=\"/" "href=\"/shinken/";
sub_filter "=\"/static" "=\"/shinken/static";
# sub_filter "=\"/" "=\"/shinken/";
sub_filter "href=\"/" "href=\"/shinken/";
#sub_filter "=\"/static" "=\"/shinken/static";
#sub_filter "=\"/" "=\"/shinken/";
}

View File

@ -38,6 +38,10 @@ sudo cp ../conf/webui2.cfg /etc/shinken/modules/webui2.cfg
sudo rm /etc/shinken/brokers/broker-master.cfg
sudo cp ../conf/broker-master.cfg /etc/shinken/brokers/broker-master.cfg
# Fix #407: 404 on Dashboard currently
sed 's/routes/route/g' /var/lib/shinken/modules/webui2/plugins/dashboard/dashboard.py > /tmp/dashboard.py
sudo mv /tmp/dashboard.py /var/lib/shinken/modules/webui2/plugins/dashboard/dashboard.py
# Add new shinken service
sudo update-rc.d shinken defaults