1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dato_ynh.git synced 2024-09-03 18:16:33 +02:00

Increased timeout for systemd starting, in case pages building takes a while.

This commit is contained in:
squeak 2021-03-12 19:37:43 +01:00
parent b0a59bebd1
commit cc59225cb5
4 changed files with 5 additions and 5 deletions

View file

@ -113,7 +113,7 @@ fi
#================================================= #=================================================
ynh_script_progression --message="Starting dato app service and building pages..." --weight=60 ynh_script_progression --message="Starting dato app service and building pages..." --weight=60
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="electrode server listening on port" ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="electrode server listening on port" --timeout=600
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX

View file

@ -231,8 +231,8 @@ yunohost service add $app --description="Data storage with a convenient and flex
#================================================= #=================================================
ynh_script_progression --message="Starting dato app service and building pages..." --weight=60 ynh_script_progression --message="Starting dato app service and building pages..." --weight=60
# Start a systemd service # Start a systemd service (increased timeout, because on some systems the pages could take quite some time to build?)
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="electrode server listening on port" ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="electrode server listening on port" --timeout=600
#================================================= #=================================================
# SETUP FAIL2BAN # SETUP FAIL2BAN

View file

@ -120,7 +120,7 @@ yunohost service add $app --description="Data storage with a convenient and flex
#================================================= #=================================================
ynh_script_progression --message="Starting dato app service and building pages..." --weight=60 ynh_script_progression --message="Starting dato app service and building pages..." --weight=60
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="electrode server listening on port" ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="electrode server listening on port" --timeout=600
#================================================= #=================================================
# RESTORE THE LOGROTATE CONFIGURATION # RESTORE THE LOGROTATE CONFIGURATION

View file

@ -158,7 +158,7 @@ yunohost service add $app --description="Data storage with a convenient and flex
#================================================= #=================================================
ynh_script_progression --message="Starting dato app service and building pages..." --weight=60 ynh_script_progression --message="Starting dato app service and building pages..." --weight=60
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="electrode server listening on port" ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="electrode server listening on port" --timeout=600
# #================================================= # #=================================================
# # UPGRADE FAIL2BAN # # UPGRADE FAIL2BAN