Cleanup config.nodes_of
[check_mk.git] / livestatus / .f12
blobcad0a7b6e2aa033ba1b18ecb1798dfc4c30523b3
1 #!/bin/bash
2 set -e
4 SITE=${SITE:-$(cat ../.site 2>/dev/null || true)}
5 SITE=${SITE:-$(omd sites --bare | head -n 1)}
6 ROOT=/omd/sites/$SITE
8 LANG=C make -j4 -C ../omd re2 boost
9 LANG=C make -C .. config.h
10 LANG=C make -j4
11 sudo install -v src/livestatus.o $ROOT/lib/mk-livestatus/livestatus.o
13 (cd api/python ; bash .f12 )
15 if [ -z $ONLY_COPY ]; then
16 echo "Restarting site $SITE"
17 sudo omd restart $SITE nagios