mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-11-24 04:12:34 +08:00
Merge pull request #289 from madpilot78/FreeBSD_rc_scripts_fixes
FreeBSD rc scripts fixes
This commit is contained in:
commit
33331be361
@ -8,9 +8,9 @@
|
|||||||
# to enable this service:
|
# to enable this service:
|
||||||
#
|
#
|
||||||
# rustdesk_hbbr_enable (bool): Set to NO by default.
|
# rustdesk_hbbr_enable (bool): Set to NO by default.
|
||||||
# Set it to YES to enable nfs-exporter.
|
# Set it to YES to enable rustdesk_hbbr.
|
||||||
# rustdesk_hbbr_args (string): Set extra arguments to pass to nfs-exporter
|
# rustdesk_hbbr_args (string): Set extra arguments to pass to rustdesk_hbbr
|
||||||
# Default is "".
|
# Default is "-k _".
|
||||||
# rustdesk_hbbr_user (string): Set user that rustdesk_hbbr will run under
|
# rustdesk_hbbr_user (string): Set user that rustdesk_hbbr will run under
|
||||||
# Default is "root".
|
# Default is "root".
|
||||||
# rustdesk_hbbr_group (string): Set group that rustdesk_hbbr will run under
|
# rustdesk_hbbr_group (string): Set group that rustdesk_hbbr will run under
|
||||||
@ -32,7 +32,7 @@ load_rc_config $name
|
|||||||
pidfile=/var/run/rustdesk_hbbr.pid
|
pidfile=/var/run/rustdesk_hbbr.pid
|
||||||
command=/usr/sbin/daemon
|
command=/usr/sbin/daemon
|
||||||
procname=/usr/local/sbin/hbbr
|
procname=/usr/local/sbin/hbbr
|
||||||
rustdesk_hbbr_chdir="/var/lib/rustdesk-server/"
|
rustdesk_hbbr_chdir=/var/db/rustdesk-server
|
||||||
command_args="-p ${pidfile} -o /var/log/rustdesk-hbbr.log ${procname} ${rustdesk_hbbr_args}"
|
command_args="-p ${pidfile} -o /var/log/rustdesk-hbbr.log ${procname} ${rustdesk_hbbr_args}"
|
||||||
## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement
|
## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement
|
||||||
#command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbr_args}"
|
#command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbr_args}"
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
# to enable this service:
|
# to enable this service:
|
||||||
#
|
#
|
||||||
# rustdesk_hbbs_enable (bool): Set to NO by default.
|
# rustdesk_hbbs_enable (bool): Set to NO by default.
|
||||||
# Set it to YES to enable nfs-exporter.
|
# Set it to YES to enable rustdesk_hbbs.
|
||||||
# rustdesk_hbbs_args (string): Set extra arguments to pass to nfs-exporter
|
# rustdesk_hbbs_args (string): Set extra arguments to pass to rustdesk_hbbs
|
||||||
# Default is "".
|
# Default is "-r ${rustdesk_hbbs_ip} -k _".
|
||||||
# rustdesk_hbbs_user (string): Set user that rustdesk_hbbs will run under
|
# rustdesk_hbbs_user (string): Set user that rustdesk_hbbs will run under
|
||||||
# Default is "root".
|
# Default is "root".
|
||||||
# rustdesk_hbbs_group (string): Set group that rustdesk_hbbs will run under
|
# rustdesk_hbbs_group (string): Set group that rustdesk_hbbs will run under
|
||||||
@ -33,7 +33,7 @@ load_rc_config $name
|
|||||||
pidfile=/var/run/rustdesk_hbbs.pid
|
pidfile=/var/run/rustdesk_hbbs.pid
|
||||||
command=/usr/sbin/daemon
|
command=/usr/sbin/daemon
|
||||||
procname=/usr/local/sbin/hbbs
|
procname=/usr/local/sbin/hbbs
|
||||||
rustdesk_hbbs_chdir="/var/lib/rustdesk-server/"
|
rustdesk_hbbs_chdir=/var/db/rustdesk-server
|
||||||
command_args="-p ${pidfile} -o /var/log/rustdesk-hbbs.log ${procname} ${rustdesk_hbbs_args}"
|
command_args="-p ${pidfile} -o /var/log/rustdesk-hbbs.log ${procname} ${rustdesk_hbbs_args}"
|
||||||
## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement
|
## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement
|
||||||
#command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbs_args}"
|
#command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbs_args}"
|
||||||
|
Loading…
Reference in New Issue
Block a user