Fix check starting service

This commit is contained in:
Josué Tille
2019-08-01 15:32:59 +02:00
parent 9babd36be2
commit c734163ed7
4 changed files with 8 additions and 5 deletions

View File

@ -26,6 +26,7 @@ dbpass=$(ynh_app_setting_get "$app" mysqlpwd)
admin=$(ynh_app_setting_get "$app" adminusername)
key=$(ynh_app_setting_get "$app" secret_key)
port=$(ynh_app_setting_get "$app" web_port)
upstream_version=$(ynh_app_setting_get $app upstream_version)
#=================================================
# STANDARD MODIFICATIONS
@ -50,7 +51,7 @@ config_nginx
config_gitea
# RELOAD services
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd" -a restart
ynh_systemd_action -l "Gitea v$upstream_version built with GNU Make .*, go.* : bindata, sqlite, sqlite_unlock_notify" -p "systemd" -a restart -t 5
sleep 1
# Store the checksum with the 'INTERNAL_TOKEN' value.