diff options
author | RustDesk <[email protected]> | 2023-07-25 13:24:21 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-25 13:24:21 +0800 |
commit | 33331be361016f5f71679ecfccbaca53bf3006a1 (patch) | |
tree | 494678daee289de7a69924418146def9a61a5e80 | |
parent | d6f99ed9a2afb9c58475035fd9c1e84c5293dae8 (diff) | |
parent | 04a9d307c5ca05148b142774a70f95df1f8e5680 (diff) | |
download | rustdesk-server-1.1.8-2.tar.gz rustdesk-server-1.1.8-2.zip |
Merge pull request #289 from madpilot78/FreeBSD_rc_scripts_fixes1.1.8-2
FreeBSD rc scripts fixes
-rw-r--r-- | rcd/rustdesk-hbbr | 8 | ||||
-rw-r--r-- | rcd/rustdesk-hbbs | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/rcd/rustdesk-hbbr b/rcd/rustdesk-hbbr index 15583a9..d129ea3 100644 --- a/rcd/rustdesk-hbbr +++ b/rcd/rustdesk-hbbr @@ -8,9 +8,9 @@ # to enable this service: # # rustdesk_hbbr_enable (bool): Set to NO by default. -# Set it to YES to enable nfs-exporter. -# rustdesk_hbbr_args (string): Set extra arguments to pass to nfs-exporter -# Default is "". +# Set it to YES to enable rustdesk_hbbr. +# rustdesk_hbbr_args (string): Set extra arguments to pass to rustdesk_hbbr +# Default is "-k _". # rustdesk_hbbr_user (string): Set user that rustdesk_hbbr will run under # Default is "root". # 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 command=/usr/sbin/daemon 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}" ## 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}" diff --git a/rcd/rustdesk-hbbs b/rcd/rustdesk-hbbs index debdcc3..1ec1589 100644 --- a/rcd/rustdesk-hbbs +++ b/rcd/rustdesk-hbbs @@ -8,9 +8,9 @@ # to enable this service: # # rustdesk_hbbs_enable (bool): Set to NO by default. -# Set it to YES to enable nfs-exporter. -# rustdesk_hbbs_args (string): Set extra arguments to pass to nfs-exporter -# Default is "". +# Set it to YES to enable rustdesk_hbbs. +# rustdesk_hbbs_args (string): Set extra arguments to pass to rustdesk_hbbs +# Default is "-r ${rustdesk_hbbs_ip} -k _". # rustdesk_hbbs_user (string): Set user that rustdesk_hbbs will run under # Default is "root". # 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 command=/usr/sbin/daemon 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}" ## 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}" |