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

Use ynh_check_starting in each script

This commit is contained in:
Josué Tille 2018-02-10 18:04:23 +01:00
parent 54edfa0a15
commit 23dacb5585
2 changed files with 4 additions and 2 deletions

View file

@ -73,4 +73,5 @@ config_nginx
config_gogs
# RELOAD services
systemctl restart "$app".service
ynh_check_starting "INFO] Listen: http://0.0.0.0:" "/var/log/$app/gogs.log"
sleep 1

View file

@ -104,4 +104,5 @@ yunohost service add "$app" --log "/var/log/$app/$app.log"
ynh_use_logrotate "/var/log/$app"
# Reload services
systemctl restart "$app".service
ynh_check_starting "INFO] Listen: http://0.0.0.0:" "/var/log/$app/gogs.log"
sleep 1