Skip to content

Commit 33331be

Browse files
authored
Merge pull request #289 from madpilot78/FreeBSD_rc_scripts_fixes
FreeBSD rc scripts fixes
2 parents d6f99ed + 04a9d30 commit 33331be

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

rcd/rustdesk-hbbr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
# to enable this service:
99
#
1010
# 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 _".
1414
# rustdesk_hbbr_user (string): Set user that rustdesk_hbbr will run under
1515
# Default is "root".
1616
# rustdesk_hbbr_group (string): Set group that rustdesk_hbbr will run under
@@ -32,7 +32,7 @@ load_rc_config $name
3232
pidfile=/var/run/rustdesk_hbbr.pid
3333
command=/usr/sbin/daemon
3434
procname=/usr/local/sbin/hbbr
35-
rustdesk_hbbr_chdir="/var/lib/rustdesk-server/"
35+
rustdesk_hbbr_chdir=/var/db/rustdesk-server
3636
command_args="-p ${pidfile} -o /var/log/rustdesk-hbbr.log ${procname} ${rustdesk_hbbr_args}"
3737
## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement
3838
#command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbr_args}"

rcd/rustdesk-hbbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
# to enable this service:
99
#
1010
# 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 _".
1414
# rustdesk_hbbs_user (string): Set user that rustdesk_hbbs will run under
1515
# Default is "root".
1616
# rustdesk_hbbs_group (string): Set group that rustdesk_hbbs will run under
@@ -33,7 +33,7 @@ load_rc_config $name
3333
pidfile=/var/run/rustdesk_hbbs.pid
3434
command=/usr/sbin/daemon
3535
procname=/usr/local/sbin/hbbs
36-
rustdesk_hbbs_chdir="/var/lib/rustdesk-server/"
36+
rustdesk_hbbs_chdir=/var/db/rustdesk-server
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)