FreeBSD Bugzilla – Attachment 214687 Details for
Bug 246598
net-mgmt/librenms: Fix double logging
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
librenms.diff
librenms.diff (text/plain), 1.51 KB, created by
Dries Michiels
on 2020-05-20 09:56:59 UTC
(
hide
)
Description:
librenms.diff
Filename:
MIME Type:
Creator:
Dries Michiels
Created:
2020-05-20 09:56:59 UTC
Size:
1.51 KB
patch
obsolete
>Index: net-mgmt/librenms/Makefile >=================================================================== >--- net-mgmt/librenms/Makefile (revision 535987) >+++ net-mgmt/librenms/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= librenms > PORTVERSION= 1.63 >-PORTREVISION= 2 >+PORTREVISION= 3 > PORTEPOCH= 1 > CATEGORIES= net-mgmt > MASTER_SITES= LOCAL/dvl:vendor >Index: net-mgmt/librenms/files/librenms.in >=================================================================== >--- net-mgmt/librenms/files/librenms.in (revision 535987) >+++ net-mgmt/librenms/files/librenms.in (working copy) >@@ -17,6 +17,8 @@ > # Default: %%GROUP%% > # librenms_pid: Path of the pid file. > # Default /var/run/librenms/librenms.pid >+# librenms_logflags: Logflags passed to daemon(8), overwrite this to use syslog >+# Default "-o /var/log/librenms/librenms-service.log" > # > # Contributed by: Dries Michiels (driesm.michiels@gmail.com) > >@@ -31,6 +33,7 @@ > : ${librenms_user:="%%USER%%"} > : ${librenms_group:="%%GROUP%%"} > : ${librenms_pid:="/var/run/librenms/librenms.pid"} >+: ${librenms_logflags:="-o /var/log/$name/$name-service.log"} > > pidfile="$librenms_pid" > procname="%%PYTHON%%" >@@ -44,6 +47,6 @@ > [ -f /var/log/$name/$name.log ] || install -g $librenms_group -o $librenms_user -m 644 /dev/null /var/log/$name/$name.log > } > >-command_args="-T $name -o /var/log/$name/$name-service.log -p $pidfile $procname %%WWWDIR%%/librenms-service.py" >+command_args="$librenms_logflags -p $pidfile $procname %%WWWDIR%%/librenms-service.py" > > run_rc_command "$1"
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 246598
:
214687
|
215481