From 57898642e81a2935a42a353fb13b0f7e61efe60e Mon Sep 17 00:00:00 2001 From: n-connect Date: Sat, 1 Apr 2023 11:19:43 +0200 Subject: [PATCH] Variable optimisation for hbbr rc.d service Variable based IP definition, can be set from /etc/rc.conf --- rcd/rustdesk-hbbr | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rcd/rustdesk-hbbr b/rcd/rustdesk-hbbr index 0cd90273..15583a95 100644 --- a/rcd/rustdesk-hbbr +++ b/rcd/rustdesk-hbbr @@ -25,7 +25,7 @@ rcvar=rustdesk_hbbr_enable load_rc_config $name : ${rustdesk_hbbr_enable:=NO} -: ${rustdesk_hbbr_args:=""} +: ${rustdesk_hbbr_args="-k _"} : ${rustdesk_hbbr_user:=rustdesk} : ${rustdesk_hbbr_group:=rustdesk} @@ -33,7 +33,6 @@ pidfile=/var/run/rustdesk_hbbr.pid command=/usr/sbin/daemon procname=/usr/local/sbin/hbbr rustdesk_hbbr_chdir="/var/lib/rustdesk-server/" -rustdesk_hbbr_args="-k _" command_args="-p ${pidfile} -o /var/log/rustdesk-hbbr.log ${procname} ${rustdesk_hbbr_args}" ## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement #command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbr_args}"