1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dont-code_ynh.git synced 2024-09-03 18:26:34 +02:00

Test ci server cpu

This commit is contained in:
Gérard Collin 2023-01-19 15:51:21 +01:00
parent 8625b6f3e5
commit 49afc41464

View file

@ -322,10 +322,10 @@ ynh_install_mongo() {
ynh_exec_err uname -a
# crash mongod and display log
ynh_exec_err cat /proc/cpuinfo | grep --color avx
/usr/bin/mongod --help 1> mongo-crash.txt 2>&1
ynh_exec_err ls -al /var/log
ynh_exec_err cat -n 30 /var/log/syslog
ynh_systemd_action --service_name=$mongodb_servicename --action=restart --line_match="aiting for connections" --log_path="systemd" --length=100 --timeout=60
# Integrate MongoDB service in YunoHost