[#29] 整合metric模块端到端测试跑通;整合web/alert模块镜像构建
This commit is contained in:
@@ -46,7 +46,9 @@ fi
|
||||
# Start Fluent Bit in background (will block, so run via bash -lc &)
|
||||
if [[ -x /private/start-fluent-bit.sh ]]; then
|
||||
log "starting fluent-bit"
|
||||
bash -lc '/private/start-fluent-bit.sh' &
|
||||
sysctl -w fs.inotify.max_user_instances=512 >/dev/null 2>&1 || true
|
||||
sysctl -w fs.inotify.max_user_watches=524288 >/dev/null 2>&1 || true
|
||||
bash -lc 'ulimit -n 65536 || true; exec /private/start-fluent-bit.sh' &
|
||||
else
|
||||
log "missing /private/start-fluent-bit.sh; fluent-bit will not start"
|
||||
fi
|
||||
@@ -54,4 +56,3 @@ fi
|
||||
# Start agent in foreground as runtime user
|
||||
log "starting argus-agent"
|
||||
exec su -s /bin/bash -c /usr/local/bin/argus-agent "$RUNTIME_USER"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user