Add sleep after service start

This commit is contained in:
Josué Tille
2019-02-16 13:43:04 +01:00
parent 45c0460c4f
commit e5f1e079d6
4 changed files with 4 additions and 0 deletions

View File

@ -70,3 +70,4 @@ yunohost service add "$app" --log /var/log/"$app"/"$app".log
# Reload services
systemctl reload nginx.service
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
sleep 1