Skip to content

Commit 336b281

Browse files
authored
Merge pull request #235 from n-connect/master
Core dump fix and rc.d scripts optimisation for FreeBSD
2 parents 7bbed69 + 5789864 commit 336b281

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tungstenite = "0.17"
4646
regex = "1.4"
4747
tower-http = { version = "0.3", features = ["fs", "trace", "cors"] }
4848
http = "0.2"
49-
flexi_logger = { version = "0.22", features = ["async", "use_chrono_for_offset"] }
49+
flexi_logger = { version = "0.22", features = ["async", "use_chrono_for_offset", "dont_minimize_extra_stacks"] }
5050
ipnetwork = "0.20"
5151
local-ip-address = "0.5.1"
5252
dns-lookup = "1.0.8"

rcd/rustdesk-hbbr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,14 @@ rcvar=rustdesk_hbbr_enable
2525
load_rc_config $name
2626

2727
: ${rustdesk_hbbr_enable:=NO}
28-
: ${rustdesk_hbbr_args:=""}
28+
: ${rustdesk_hbbr_args="-k _"}
2929
: ${rustdesk_hbbr_user:=rustdesk}
3030
: ${rustdesk_hbbr_group:=rustdesk}
3131

3232
pidfile=/var/run/rustdesk_hbbr.pid
3333
command=/usr/sbin/daemon
3434
procname=/usr/local/sbin/hbbr
3535
rustdesk_hbbr_chdir="/var/lib/rustdesk-server/"
36-
rustdesk_hbbr_args="-k _"
3736
command_args="-p ${pidfile} -o /var/log/rustdesk-hbbr.log ${procname} ${rustdesk_hbbr_args}"
3837
## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement
3938
#command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbr_args}"

rcd/rustdesk-hbbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ rcvar=rustdesk_hbbs_enable
2525
load_rc_config $name
2626

2727
: ${rustdesk_hbbs_enable:=NO}
28-
: ${rustdesk_hbbs_args:=""}
28+
: ${rustdesk_hbbs_ip:=127.0.0.1}
29+
: ${rustdesk_hbbs_args="-r ${rustdesk_hbbs_ip} -k _"}
2930
: ${rustdesk_hbbs_user:=rustdesk}
3031
: ${rustdesk_hbbs_group:=rustdesk}
3132

3233
pidfile=/var/run/rustdesk_hbbs.pid
3334
command=/usr/sbin/daemon
3435
procname=/usr/local/sbin/hbbs
3536
rustdesk_hbbs_chdir="/var/lib/rustdesk-server/"
36-
rustdesk_hbbs_args="-r your.ip.add.ress -k _"
3737
command_args="-p ${pidfile} -o /var/log/rustdesk-hbbs.log ${procname} ${rustdesk_hbbs_args}"
3838
## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement
3939
#command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbs_args}"

0 commit comments

Comments
 (0)