diff options
author | n-connect <[email protected]> | 2023-04-01 11:19:43 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-04-01 11:19:43 +0200 |
commit | 57898642e81a2935a42a353fb13b0f7e61efe60e (patch) | |
tree | 192244b70e66ed0376a62742205716d6709b205c | |
parent | fa0c006ac534790b9d3da5f71cc8d7759d7143e9 (diff) | |
download | rustdesk-server-57898642e81a2935a42a353fb13b0f7e61efe60e.tar.gz rustdesk-server-57898642e81a2935a42a353fb13b0f7e61efe60e.zip |
Variable optimisation for hbbr rc.d service
Variable based IP definition, can be set from /etc/rc.conf
-rw-r--r-- | rcd/rustdesk-hbbr | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rcd/rustdesk-hbbr b/rcd/rustdesk-hbbr index 0cd9027..15583a9 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}" |