1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

Wait for the service to start properly

This commit is contained in:
tituspijean 2021-12-17 09:43:03 +01:00
parent a83895f893
commit 4b52ee67fb
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
3 changed files with 4 additions and 4 deletions

View file

@ -147,7 +147,7 @@ popd
ynh_script_progression --message="Configuring a systemd service..."
# Create a dedicated systemd config
ynh_add_systemd_config
ynh_add_systemd_config
#=================================================
# SETUP LOGROTATE
@ -170,7 +170,7 @@ yunohost service add $app --description="$app daemon for Ghost" --log="/var/log/
ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start"
ynh_systemd_action --service_name=$app --action="start" --line_match="Ghost booted" --timeout=60
#=================================================
# SETUP SSOWAT

View file

@ -122,7 +122,7 @@ yunohost service add $app --description="$app daemon for Ghost" --log="/var/log/
#=================================================
ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action=start
ynh_systemd_action --service_name=$app --action=start --line_match="Ghost booted" --timeout=60
#=================================================
# GENERIC FINALIZATION

View file

@ -201,7 +201,7 @@ yunohost service add $app --description="$app daemon for Ghost" --log="/var/log/
#=================================================
ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action=start
ynh_systemd_action --service_name=$app --action=start --line_match="Ghost booted" --timeout=60
#=================================================
# RELOAD NGINX