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

Fine line_match for system start ...

This commit is contained in:
Alexandre Aubin 2023-12-27 16:34:42 +01:00
parent 63433a0646
commit 848ac65fc3
3 changed files with 3 additions and 3 deletions

View file

@ -120,7 +120,7 @@ popd
ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started"
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP server listening on localhost"
#=================================================
# END OF SCRIPT

View file

@ -61,7 +61,7 @@ yunohost service add $app --description="$app daemon for Peertube" --log="/var/l
#=================================================
ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started"
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP server listening on localhost"
ynh_systemd_action --service_name=nginx --action=reload

View file

@ -170,7 +170,7 @@ fi
#=================================================
ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started"
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP server listening on localhost"
#=================================================
# END OF SCRIPT