style: migrate image locations

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-07-04 20:18:39 +08:00
parent dae7849393
commit 02a24aebfe
13 changed files with 43 additions and 19 deletions
+14 -13
View File
@@ -13,10 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#fixme This scripts is the total startup scripts
#fixme The full name of the shell scripts that needs to be started is placed in the need_to_start_server_shell array
#FIXME This script is the startup script for multiple servers.
#FIXME The full names of the shell scripts that need to be started are placed in the `need_to_start_server_shell` array.
#fixme Put the shell scripts name here
#FIXME Put the shell script names here
need_to_start_server_shell=(
start_rpc_service.sh
push_start.sh
@@ -25,20 +25,21 @@ need_to_start_server_shell=(
msg_gateway_start.sh
start_cron.sh
)
time=`date +"%Y-%m-%d %H:%M:%S"`
echo "==========================================================">>../logs/openIM.log 2>&1 &
echo "==========================================================">>../logs/openIM.log 2>&1 &
echo "==========================================================">>../logs/openIM.log 2>&1 &
echo "==========server start time:${time}===========">>../logs/openIM.log 2>&1 &
echo "==========================================================">>../logs/openIM.log 2>&1 &
echo "==========================================================">>../logs/openIM.log 2>&1 &
echo "==========================================================">>../logs/openIM.log 2>&1 &
echo "==========================================================" >> ../logs/openIM.log 2>&1 &
echo "==========================================================" >> ../logs/openIM.log 2>&1 &
echo "==========================================================" >> ../logs/openIM.log 2>&1 &
echo "==========server start time:${time}===========" >> ../logs/openIM.log 2>&1 &
echo "==========================================================" >> ../logs/openIM.log 2>&1 &
echo "==========================================================" >> ../logs/openIM.log 2>&1 &
echo "==========================================================" >> ../logs/openIM.log 2>&1 &
for i in ${need_to_start_server_shell[*]}; do
chmod +x $i
echo "=====================exec ${i}======================">>../logs/openIM.log
echo "=====================exec ${i}======================" >> ../logs/openIM.log
./$i
if [ $? -ne 0 ]; then
exit -1
if [ $? -ne 0 ]; then
exit -1
fi
done