From 6068b5941c199820c09ba3d377c86882903c6272 Mon Sep 17 00:00:00 2001 From: n-connect Date: Sat, 25 Mar 2023 22:29:02 +0100 Subject: [PATCH 1/3] Adding log capability over syslog Logging over syslog added via a semi-duplicate line commented out by default. Instructions in the line above. --- rcd/rustdesk-hbbr | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rcd/rustdesk-hbbr b/rcd/rustdesk-hbbr index 906d45e..0cd9027 100644 --- a/rcd/rustdesk-hbbr +++ b/rcd/rustdesk-hbbr @@ -35,6 +35,8 @@ procname=/usr/local/sbin/hbbr rustdesk_hbbr_chdir="/var/lib/rustdesk-server/" rustdesk_hbbr_args="-k _" 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}" start_precmd=rustdesk_hbbr_startprecmd From bea99ae315519ebc5b7d314f39368e0a54a57f87 Mon Sep 17 00:00:00 2001 From: n-connect Date: Sat, 25 Mar 2023 22:30:59 +0100 Subject: [PATCH 2/3] Adding log capability over syslog Logging over syslog added via a semi-duplicate line commented out by default. Instructions in the line above. --- rcd/rustdesk-hbbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rcd/rustdesk-hbbs b/rcd/rustdesk-hbbs index 2b13080..f4b85c5 100644 --- a/rcd/rustdesk-hbbs +++ b/rcd/rustdesk-hbbs @@ -35,6 +35,8 @@ procname=/usr/local/sbin/hbbs rustdesk_hbbs_chdir="/var/lib/rustdesk-server/" rustdesk_hbbs_args="-r 130.255.77.37 -k _" 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}" start_precmd=rustdesk_hbbs_startprecmd From 9e716b3b7bf215165b0c3fea9907a6a83174adeb Mon Sep 17 00:00:00 2001 From: n-connect Date: Mon, 27 Mar 2023 15:59:06 +0200 Subject: [PATCH 3/3] Minor update --- rcd/rustdesk-hbbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcd/rustdesk-hbbs b/rcd/rustdesk-hbbs index f4b85c5..4bceb5b 100644 --- a/rcd/rustdesk-hbbs +++ b/rcd/rustdesk-hbbs @@ -33,7 +33,7 @@ pidfile=/var/run/rustdesk_hbbs.pid command=/usr/sbin/daemon procname=/usr/local/sbin/hbbs rustdesk_hbbs_chdir="/var/lib/rustdesk-server/" -rustdesk_hbbs_args="-r 130.255.77.37 -k _" +rustdesk_hbbs_args="-r your.ip.add.ress -k _" 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}"