|
|
@@ -8,9 +8,9 @@
|
|
8
|
8
|
# to enable this service:
|
|
9
|
9
|
#
|
|
10
|
10
|
# rustdesk_hbbs_enable (bool): Set to NO by default.
|
|
11
|
|
-# Set it to YES to enable nfs-exporter.
|
|
12
|
|
-# rustdesk_hbbs_args (string): Set extra arguments to pass to nfs-exporter
|
|
13
|
|
-# Default is "".
|
|
|
11
|
+# Set it to YES to enable rustdesk_hbbs.
|
|
|
12
|
+# rustdesk_hbbs_args (string): Set extra arguments to pass to rustdesk_hbbs
|
|
|
13
|
+# Default is "-r ${rustdesk_hbbs_ip} -k _".
|
|
14
|
14
|
# rustdesk_hbbs_user (string): Set user that rustdesk_hbbs will run under
|
|
15
|
15
|
# Default is "root".
|
|
16
|
16
|
# rustdesk_hbbs_group (string): Set group that rustdesk_hbbs will run under
|
|
|
@@ -33,7 +33,7 @@ load_rc_config $name
|
|
33
|
33
|
pidfile=/var/run/rustdesk_hbbs.pid
|
|
34
|
34
|
command=/usr/sbin/daemon
|
|
35
|
35
|
procname=/usr/local/sbin/hbbs
|
|
36
|
|
-rustdesk_hbbs_chdir="/var/lib/rustdesk-server/"
|
|
|
36
|
+rustdesk_hbbs_chdir=/var/db/rustdesk-server
|
|
37
|
37
|
command_args="-p ${pidfile} -o /var/log/rustdesk-hbbs.log ${procname} ${rustdesk_hbbs_args}"
|
|
38
|
38
|
## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement
|
|
39
|
39
|
#command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbs_args}"
|