mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2025-07-03 08:15:25 +00:00
Merge pull request #225 from n-connect/master
Adding log capability over syslog
This commit is contained in:
commit
74ff886900
@ -35,6 +35,8 @@ procname=/usr/local/sbin/hbbr
|
|||||||
rustdesk_hbbr_chdir="/var/lib/rustdesk-server/"
|
rustdesk_hbbr_chdir="/var/lib/rustdesk-server/"
|
||||||
rustdesk_hbbr_args="-k _"
|
rustdesk_hbbr_args="-k _"
|
||||||
command_args="-p ${pidfile} -o /var/log/rustdesk-hbbr.log ${procname} ${rustdesk_hbbr_args}"
|
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
|
start_precmd=rustdesk_hbbr_startprecmd
|
||||||
|
|
||||||
|
@ -33,8 +33,10 @@ pidfile=/var/run/rustdesk_hbbs.pid
|
|||||||
command=/usr/sbin/daemon
|
command=/usr/sbin/daemon
|
||||||
procname=/usr/local/sbin/hbbs
|
procname=/usr/local/sbin/hbbs
|
||||||
rustdesk_hbbs_chdir="/var/lib/rustdesk-server/"
|
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}"
|
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
|
start_precmd=rustdesk_hbbs_startprecmd
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user