Adding log capability over syslog

Logging over syslog added via a semi-duplicate line commented out by default. Instructions in the line above.
This commit is contained in:
n-connect
2023-03-25 22:30:59 +01:00
committed by GitHub
parent 6068b5941c
commit bea99ae315

View File

@@ -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