X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=monitor-server.init;h=8c26416f62370a59416e96fb9cba1c51d143d090;hb=0e3cb254ed858745809d57de80437d73aedc6eba;hp=6a43fdac5428f38c441e69a3fda5e796ca754874;hpb=0616603a4abeaf63c2a67026e00a243ff64ba14d;p=monitor.git diff --git a/monitor-server.init b/monitor-server.init index 6a43fda..8c26416 100644 --- a/monitor-server.init +++ b/monitor-server.init @@ -44,6 +44,7 @@ function check_monitor_schema_and_data() { # NOTE: call create_all() to setup the database from the info model. python -c "from monitor.database.info.model import *; from elixir import create_all; create_all()" + $MONITORPATH/init-bootman-sequence.py } function check_monitor_conf () @@ -111,6 +112,7 @@ cachetime=60 [commandline] cachecalls=True embedded=False +zabbix_enabled=False echo=False debug=False @@ -170,6 +172,8 @@ function start_tg_server () { stop_tg_server pushd ${MONITORPATH}/web/MonitorWeb/ + mkdir -p /var/log/monitor/monitorweb/ + cp /var/log/monitorweb.log /var/lib/monitor/monitorweb/`date +%Y-%m-%d-%H-%M`-monitorweb.log ./start-monitorweb.py ${MONITORPATH}/web/MonitorWeb/prod.cfg &> /var/log/monitorweb.log & popd }