Add sleep after service start

This commit is contained in:
Josué Tille committed 2019-02-16 23:38:27 +01:00
1 parent 45c0460c4f
commit e5f1e079d6
4 files changed
+4

No files matched your search

+1
View File
@@ -114,6 +114,7 @@ ynh_use_logrotate "/var/log/$app"
# Reload services
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
sleep 1
# Store the checksum with the 'INTERNAL_TOKEN' value.
# Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed