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

Add additional time for service to start

This commit is contained in:
yalh76 2019-03-07 21:26:59 +01:00
parent daaf7b9e5d
commit 3379872d17
3 changed files with 3 additions and 0 deletions

View file

@ -102,6 +102,7 @@ ynh_print_info "Updating .env configuration..."
ynh_systemd_action --action=stop --service_name=$app --log_path="systemd"
ynh_replace_string "$old_domain$old_path" "$new_domain$new_path" "$final_path/.env"
ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app"
sleep 10
#=================================================
# GENERIC FINALISATION

View file

@ -271,6 +271,7 @@ systemctl reload nginx
#=================================================
ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app"
sleep 10
#=================================================
# END OF SCRIPT

View file

@ -130,6 +130,7 @@ systemctl reload nginx
#=================================================
ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app"
sleep 10
#=================================================
# END OF SCRIPT