mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-11-22 02:51:35 +01:00
Add sleep after service start
This commit is contained in:
parent
45c0460c4f
commit
e5f1e079d6
@ -51,6 +51,7 @@ config_gitea
|
|||||||
|
|
||||||
# RELOAD services
|
# RELOAD services
|
||||||
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd" -a restart
|
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd" -a restart
|
||||||
|
sleep 1
|
||||||
|
|
||||||
# Store the checksum with the 'INTERNAL_TOKEN' value.
|
# Store the checksum with the 'INTERNAL_TOKEN' value.
|
||||||
# Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed
|
# Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed
|
||||||
|
@ -114,6 +114,7 @@ ynh_use_logrotate "/var/log/$app"
|
|||||||
|
|
||||||
# Reload services
|
# Reload services
|
||||||
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
|
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
|
||||||
|
sleep 1
|
||||||
|
|
||||||
# Store the checksum with the 'INTERNAL_TOKEN' value.
|
# Store the checksum with the 'INTERNAL_TOKEN' value.
|
||||||
# Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed
|
# Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed
|
||||||
|
@ -70,3 +70,4 @@ yunohost service add "$app" --log /var/log/"$app"/"$app".log
|
|||||||
# Reload services
|
# Reload services
|
||||||
systemctl reload nginx.service
|
systemctl reload nginx.service
|
||||||
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
|
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
|
||||||
|
sleep 1
|
||||||
|
@ -111,6 +111,7 @@ set_access_settings
|
|||||||
|
|
||||||
# Reload services
|
# Reload services
|
||||||
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
|
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
|
||||||
|
sleep 1
|
||||||
|
|
||||||
# Store the checksum with the 'INTERNAL_TOKEN' value.
|
# Store the checksum with the 'INTERNAL_TOKEN' value.
|
||||||
# Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed
|
# Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed
|
||||||
|
Loading…
Reference in New Issue
Block a user