#!/bin/bash
echo "
# debug container if it cannot activate
TRACE=yes /usr/sbin/entrypoint.sh

# stop $QLOUD_COMPONENT
portoctl stop app/sub_main

# start $QLOUD_COMPONENT
portoctl start app/sub_main

logs:"
ls /var/log/dirty-orange/*.log | fgrep -v alerts

echo "
# 'fix' alert XXX
alertctl fix XXX

# enable or disable alerts (drills mode)
drills on
drills off

# show drills mode status
drills status
"
