1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rustdesk-server_ynh.git synced 2024-09-03 20:16:24 +02:00
This commit is contained in:
Éric Gaspar 2023-11-01 11:50:56 +01:00
parent 17d9013883
commit 4c5a7ae83d
2 changed files with 1 additions and 5 deletions

View file

@ -8,7 +8,7 @@ Group=__APP__
Restart=always Restart=always
LimitNOFILE=1000000 LimitNOFILE=1000000
WorkingDirectory=__INSTALL_DIR__/ 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 StandardOutput=append:/var/log/__APP__/hbbs.log
StandardError=append:/var/log/__APP__/hbbs.error StandardError=append:/var/log/__APP__/hbbs.error
RestartSec=10 RestartSec=10

View file

@ -29,10 +29,6 @@ chmod +x "$install_dir/hbbs"
#================================================= #=================================================
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 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 # Create a dedicated NGINX config using the conf/nginx.conf template
ynh_add_nginx_config ynh_add_nginx_config