aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorn-connect <[email protected]>2023-03-25 22:30:59 +0100
committerGitHub <[email protected]>2023-03-25 22:30:59 +0100
commitbea99ae315519ebc5b7d314f39368e0a54a57f87 (patch)
tree5a733a35fb0e74ee5faf3485eecb5ccfab885896
parent6068b5941c199820c09ba3d377c86882903c6272 (diff)
downloadrustdesk-server-bea99ae315519ebc5b7d314f39368e0a54a57f87.tar.gz
rustdesk-server-bea99ae315519ebc5b7d314f39368e0a54a57f87.zip
Adding log capability over syslog
Logging over syslog added via a semi-duplicate line commented out by default. Instructions in the line above.
-rw-r--r--rcd/rustdesk-hbbs2
1 files changed, 2 insertions, 0 deletions
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