Add timeout to 5 second, to bypass when the log was written before it was catched

This commit is contained in:
Josué Tille
2019-08-05 22:58:17 +02:00
parent 9e2c149643
commit f2e84f1122
4 changed files with 4 additions and 4 deletions

View File

@ -117,7 +117,7 @@ ynh_use_logrotate "/var/log/$app"
ynh_app_setting_set $app upstream_version $upstream_version
# Reload services
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "/var/log/$app/gitea.log"
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "/var/log/$app/gitea.log" -t 10
sleep 1
# Store the checksum with the 'INTERNAL_TOKEN' value.