1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/distbin_ynh.git synced 2024-09-03 18:26:10 +02:00

change system start parameters

This commit is contained in:
yalh76 2019-03-20 18:13:16 +01:00
parent fb4b0d67c6
commit 31f8217ea7
4 changed files with 8 additions and 4 deletions

View file

@ -124,7 +124,8 @@ ynh_store_file_checksum "$final_path/.env"
# START SERVICE # START SERVICE
#================================================= #=================================================
ynh_systemd_action --action=start --service_name=$app --line_match="http" ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started Distbin Service"
sleep 10
#================================================= #=================================================
# GENERIC FINALISATION # GENERIC FINALISATION

View file

@ -287,7 +287,8 @@ systemctl reload nginx
# START SERVICE # START SERVICE
#================================================= #=================================================
ynh_systemd_action --action=start --service_name=$app --line_match="http" ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started Distbin Service"
sleep 10
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT

View file

@ -140,7 +140,8 @@ chown -R "$app":"$app" "/var/log/$app"
# START SERVICE # START SERVICE
#================================================= #=================================================
ynh_systemd_action --action=start --service_name=$app --line_match="http" ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started Distbin Service"
sleep 10
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT

View file

@ -213,7 +213,8 @@ systemctl reload nginx
# START SERVICE # START SERVICE
#================================================= #=================================================
ynh_systemd_action --action=start --service_name=$app --line_match="http" ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started Distbin Service"
sleep 10
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT