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

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
bea99ae315
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      rcd/rustdesk-hbbs

+ 2 - 0
rcd/rustdesk-hbbs

@@ -35,6 +35,8 @@ procname=/usr/local/sbin/hbbs
35 35
 rustdesk_hbbs_chdir="/var/lib/rustdesk-server/"
36 36
 rustdesk_hbbs_args="-r 130.255.77.37 -k _"
37 37
 command_args="-p ${pidfile} -o /var/log/rustdesk-hbbs.log ${procname} ${rustdesk_hbbs_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_hbbs_args}"
38 40
 
39 41
 start_precmd=rustdesk_hbbs_startprecmd
40 42