Просмотр исходного кода

Merge pull request #289 from madpilot78/FreeBSD_rc_scripts_fixes

FreeBSD rc scripts fixes
RustDesk лет назад: 2
Родитель
Сommit
33331be361
2 измененных файлов с 8 добавлено и 8 удалено
  1. 4 4
      rcd/rustdesk-hbbr
  2. 4 4
      rcd/rustdesk-hbbs

+ 4 - 4
rcd/rustdesk-hbbr

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

+ 4 - 4
rcd/rustdesk-hbbs

@@ -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}"