[PATCH openbmc] Limit size of event log db

OpenBMC Patches openbmc-patches at stwcx.xyz
Wed Mar 23 08:20:41 AEDT 2016


From: Adriana Kobylak <anoo at us.ibm.com>

The event log process now supports an argument to specify the max
size of the event log db. Set this size to a default of 200kB.

Signed-off-by: Adriana Kobylak <anoo at us.ibm.com>
---
 .../obmc-phosphor-event/files/obmc-phosphor-event.service               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/files/obmc-phosphor-event.service b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/files/obmc-phosphor-event.service
index 8e0266b..828cb6a 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/files/obmc-phosphor-event.service
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/files/obmc-phosphor-event.service
@@ -2,7 +2,7 @@
 Description=Phosphor OpenBMC event management daemon
 
 [Service]
-ExecStart=/usr/sbin/obmc-phosphor-eventd
+ExecStart=/usr/sbin/obmc-phosphor-eventd -s 200000
 
 [Install]
 WantedBy=multi-user.target
-- 
2.7.1




More information about the openbmc mailing list