From ed44d07c13b5a843e3005bfb8633e72ed78dc2ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 23 Jun 2023 22:56:16 +0200 Subject: [PATCH] revert --- conf/lemmy-ui.service | 2 +- scripts/install | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/lemmy-ui.service b/conf/lemmy-ui.service index 6a3cf7b..0b0c0c6 100644 --- a/conf/lemmy-ui.service +++ b/conf/lemmy-ui.service @@ -9,7 +9,7 @@ Group=__APP__ Environment="LEMMY_INTERNAL_HOST=127.0.0.1:__PORT__" Environment="LEMMY_EXTERNAL_HOST=__DOMAIN__" Environment="LEMMY_HTTPS=true" -Environment="LEMMY_UI_HOST=127.0.0.1:__PORT_UI__" +Environment="LEMMY_UI_HOST=0.0.0.0:__PORT_UI__" WorkingDirectory=__INSTALL_DIR__/lemmy-ui/ ExecStart=__YNH_NODE__ dist/js/server.js StandardOutput=append:/var/log/__APP__/__APP__-ui.log diff --git a/scripts/install b/scripts/install index fd15d3e..d91bc38 100755 --- a/scripts/install +++ b/scripts/install @@ -121,8 +121,8 @@ yunohost service add $app-ui --log="/var/log/$app/$app-ui.log" ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" #--line_match="Starting http server at" -ynh_systemd_action --service_name=$app-ui --action="start" --log_path="/var/log/$app/$app-ui.log" #--line_match="http://0.0.0.0" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Starting http server at" +ynh_systemd_action --service_name=$app-ui --action="start" --log_path="/var/log/$app/$app-ui.log" --line_match="http://0.0.0.0" #================================================= # END OF SCRIPT