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:
parent
54edfa0a15
commit
23dacb5585
2 changed files with 4 additions and 2 deletions
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue