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

Now the service listens to 127.0.0.1 and not localhost

This commit is contained in:
Alexandre Aubin 2023-12-27 18:53:30 +01:00
parent a07fcf2376
commit 46c3d36200
3 changed files with 3 additions and 3 deletions

View file

@ -98,7 +98,7 @@ chown $app:$app "$install_dir/config/local-production.json"
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="HTTP server listening on localhost"
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP server listening on 127.0.0.1"
#=================================================
# INSTALL LDAP PLUGIN

View file

@ -63,7 +63,7 @@ yunohost service add $app --description="Federated video streaming platform" --l
#=================================================
ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP server listening on localhost"
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP server listening on 127.0.0.1"
ynh_systemd_action --service_name=nginx --action=reload

View file

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