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

Implementing ynh_systemd_action on all scripts/install

This commit is contained in:
yalh76 2019-02-05 17:41:18 +01:00
parent d4cc83fbbf
commit b60392128c
3 changed files with 20 additions and 6 deletions

View file

@ -147,9 +147,11 @@ fi
#=================================================
# RELOAD NGINX
#=================================================
ynh_print_info "Starting wekan ..."
systemctl restart $app
systemctl reload nginx
ynh_print_info "Waiting for wekan to be up ..."
sleep 20
#=================================================
# START SERVICE
#=================================================
ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Finishing add-custom-html-before-body-end migration"

View file

@ -107,5 +107,11 @@ fi
#=================================================
# RELOAD NGINX
#=================================================
systemctl restart $app
systemctl reload nginx
#=================================================
# START SERVICE
#=================================================
ynh_systemd_action --action=start --service_name=$app --log_path="systemd"

View file

@ -114,5 +114,11 @@ popd
#=================================================
# RELOAD NGINX
#=================================================
systemctl restart $app
systemctl reload nginx
#=================================================
# START SERVICE
#=================================================
ynh_systemd_action --action=start --service_name=$app --log_path="systemd"