From 4c5a7ae83d4cb940e798c54108e388340a01d554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 1 Nov 2023 11:50:56 +0100 Subject: [PATCH] cleaning --- conf/rustdesksignal.service | 2 +- scripts/install | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/conf/rustdesksignal.service b/conf/rustdesksignal.service index c337afa..3d95241 100644 --- a/conf/rustdesksignal.service +++ b/conf/rustdesksignal.service @@ -8,7 +8,7 @@ Group=__APP__ Restart=always LimitNOFILE=1000000 WorkingDirectory=__INSTALL_DIR__/ -ExecStart=__INSTALL_DIR__/hbbs -r __IP__ -p __PORT_HBBS__ +ExecStart=__INSTALL_DIR__/hbbs -r 127.0.0.1 -p __PORT_HBBS__ StandardOutput=append:/var/log/__APP__/hbbs.log StandardError=append:/var/log/__APP__/hbbs.error RestartSec=10 diff --git a/scripts/install b/scripts/install index c9a5d5e..b7abe21 100755 --- a/scripts/install +++ b/scripts/install @@ -29,10 +29,6 @@ chmod +x "$install_dir/hbbs" #================================================= ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 -public_ip4="$(curl -s ip.yunohost.org)" || true - -ip=${public_ip4} - # Create a dedicated NGINX config using the conf/nginx.conf template ynh_add_nginx_config