aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRustDesk <[email protected]>2023-03-28 18:38:24 +0800
committerGitHub <[email protected]>2023-03-28 18:38:24 +0800
commit74ff886900e902267adb4d0f66d9aa045d66043c (patch)
treef5ff8d880a8fcce8a05a1701ab7a78971f5d2e21
parent675bf3c1f53f6884b03cf4dc2905e89a6815ec73 (diff)
parent9e716b3b7bf215165b0c3fea9907a6a83174adeb (diff)
downloadrustdesk-server-74ff886900e902267adb4d0f66d9aa045d66043c.tar.gz
rustdesk-server-74ff886900e902267adb4d0f66d9aa045d66043c.zip
Merge pull request #225 from n-connect/master
Adding log capability over syslog
-rw-r--r--rcd/rustdesk-hbbr2
-rw-r--r--rcd/rustdesk-hbbs4
2 files changed, 5 insertions, 1 deletions
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
diff --git a/rcd/rustdesk-hbbs b/rcd/rustdesk-hbbs
index 2b13080..4bceb5b 100644
--- a/rcd/rustdesk-hbbs
+++ b/rcd/rustdesk-hbbs
@@ -33,8 +33,10 @@ 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}"
start_precmd=rustdesk_hbbs_startprecmd