FreeBSD Bugzilla – Attachment 220944 Details for
Bug 252159
security/i2pd: make the port compatible with syslogging
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
support syslogging
i2pd.in.diff (text/plain), 913 bytes, created by
Eugene Grosbein
on 2020-12-26 12:07:04 UTC
(
hide
)
Description:
support syslogging
Filename:
MIME Type:
Creator:
Eugene Grosbein
Created:
2020-12-26 12:07:04 UTC
Size:
913 bytes
patch
obsolete
>--- i2pd.in.orig 2020-07-16 23:48:38.957551000 +0000 >+++ i2pd.in 2020-12-26 11:58:48.596349000 +0000 >@@ -22,12 +22,18 @@ > : ${i2pd_group="%%GROUP%%"} > : ${i2pd_pidfile="/var/run/${name}/${name}.pid"} > : ${i2pd_datadir="/var/db/${name}"} >-: ${i2pd_logfile="/var/log/${name}/${name}.log"} >+ >+case "$i2pd_logfile" in >+ syslog) log="--log syslog" ;; >+ syslog:*) log="--log syslog --loglevel ${i2pd_logfile#syslog:}" ;; >+ *) : ${i2pd_logfile="/var/log/${name}/${name}.log"} >+ log="--log file --logfile ${i2pd_logfile}" ;; >+esac > > required_dirs=${i2pd_datadir} > pidfile=${i2pd_pidfile} > command="%%PREFIX%%/bin/${name}" >-command_args="--pidfile ${i2pd_pidfile} --service --datadir ${i2pd_datadir} --log file --logfile ${i2pd_logfile} --daemon" >+command_args="--pidfile ${i2pd_pidfile} --service --datadir ${i2pd_datadir} --daemon $log" > extra_commands="reload" > reload_cmd="pkill -1 -F ${i2pd_pidfile} -x i2pd" >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252159
: 220944