mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Merge pull request #115 from YunoHost-Apps/enh-service
Fix service start detection
This commit is contained in:
commit
146319b5ed
4 changed files with 5 additions and 5 deletions
|
@ -107,7 +107,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="server available"
|
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Serving content"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
|
|
|
@ -112,7 +112,7 @@ ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --targ
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CONFIGURE CONFIG.JS
|
# CONFIGURE CONFIG.JS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.js" --destination="$final_path/config/config.js"
|
ynh_add_config --template="../conf/config.js" --destination="$final_path/config/config.js"
|
||||||
|
@ -152,7 +152,7 @@ yunohost service add $app --description="Zero Knowledge realtime collaborative e
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||||
|
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="server available"
|
ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Serving content"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
|
|
|
@ -103,7 +103,7 @@ yunohost service add $app --description="Zero Knowledge realtime collaborative e
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="server available"
|
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Serving content"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
|
@ -159,7 +159,7 @@ yunohost service add $app --description="Zero Knowledge realtime collaborative e
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="server available"
|
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Serving content"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
|
|
Loading…
Reference in a new issue