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

Merge pull request #44 from YunoHost-Apps/testing

change system start parameters
This commit is contained in:
yalh76 2019-03-20 18:19:47 +01:00 committed by GitHub
commit c75ceb0436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View file

@ -124,7 +124,8 @@ ynh_store_file_checksum "$final_path/.env"
# 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

View file

@ -287,7 +287,8 @@ systemctl reload nginx
# 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

View file

@ -140,7 +140,8 @@ chown -R "$app":"$app" "/var/log/$app"
# 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

View file

@ -213,7 +213,8 @@ systemctl reload nginx
# 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