Просмотр исходного кода

Adding log capability over syslog

Logging over syslog added via a semi-duplicate line commented out by default. Instructions in the line above.
n-connect лет назад: 2
Родитель
Сommit
6068b5941c
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      rcd/rustdesk-hbbr

+ 2 - 0
rcd/rustdesk-hbbr

@@ -35,6 +35,8 @@ procname=/usr/local/sbin/hbbr
35 35
 rustdesk_hbbr_chdir="/var/lib/rustdesk-server/"
36 36
 rustdesk_hbbr_args="-k _"
37 37
 command_args="-p ${pidfile} -o /var/log/rustdesk-hbbr.log ${procname} ${rustdesk_hbbr_args}"
38
+## If you want the daemon do its log over syslog comment out the above line and remove the comment from the below replacement
39
+#command_args="-p ${pidfile} -T ${name} ${procname} ${rustdesk_hbbr_args}"
38 40
 
39 41
 start_precmd=rustdesk_hbbr_startprecmd
40 42