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:
parent
8625b6f3e5
commit
49afc41464
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue