1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Add timeout

This commit is contained in:
ericgaspar 2020-12-04 23:47:46 +01:00
parent 873c25ee7f
commit ec320394c6
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 11 additions and 3 deletions

View file

@ -108,6 +108,14 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=2
ynh_systemd_action --service_name=nginx --action=reload
#=================================================
# START SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=6
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Your Etherpad version is" --timeout="60"
#=================================================
# END OF SCRIPT
#=================================================

View file

@ -183,7 +183,7 @@ yunohost service add $app --description="Collaborative editor." --log="/var/log/
ynh_script_progression --message="Starting a systemd service..." --weight=6
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Your Etherpad version is"
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Your Etherpad version is" --timeout="60"
#=================================================
# SETUP SSOWAT

View file

@ -115,7 +115,7 @@ yunohost service add $app --description="Collaborative editor." --log="/var/log/
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=8
ynh_systemd_action --service_name=$app --action=restart --log_path="systemd" --line_match="Your Etherpad version is"
ynh_systemd_action --service_name=$app --action=restart --log_path="systemd" --line_match="Your Etherpad version is" --timeout="60"
#=================================================
# GENERIC FINALIZATION

View file

@ -178,7 +178,7 @@ yunohost service add $app --description="Collaborative editor." --log="/var/log/
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=6
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Your Etherpad version is"
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Your Etherpad version is" --timeout="60"
#=================================================
# RELOAD NGINX