|
|
@@ -25,7 +25,7 @@ rcvar=rustdesk_hbbr_enable
|
|
25
|
25
|
load_rc_config $name
|
|
26
|
26
|
|
|
27
|
27
|
: ${rustdesk_hbbr_enable:=NO}
|
|
28
|
|
-: ${rustdesk_hbbr_args:=""}
|
|
|
28
|
+: ${rustdesk_hbbr_args="-k _"}
|
|
29
|
29
|
: ${rustdesk_hbbr_user:=rustdesk}
|
|
30
|
30
|
: ${rustdesk_hbbr_group:=rustdesk}
|
|
31
|
31
|
|
|
|
@@ -33,7 +33,6 @@ pidfile=/var/run/rustdesk_hbbr.pid
|
|
33
|
33
|
command=/usr/sbin/daemon
|
|
34
|
34
|
procname=/usr/local/sbin/hbbr
|
|
35
|
35
|
rustdesk_hbbr_chdir="/var/lib/rustdesk-server/"
|
|
36
|
|
-rustdesk_hbbr_args="-k _"
|
|
37
|
36
|
command_args="-p ${pidfile} -o /var/log/rustdesk-hbbr.log ${procname} ${rustdesk_hbbr_args}"
|
|
38
|
37
|
## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement
|
|
39
|
38
|
#command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbr_args}"
|