Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit size of event log db #214

Merged
merged 1 commit into from Mar 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO we should use EnvironmentFile entry under the service section and read the option from that file instead of hardcoding the value directly. This option will even help to change the value runtime and test it.

Reference - http://fedoraproject.org/wiki/Packaging:Systemd#EnvironmentFiles_and_support_for_.2Fetc.2Fsysconfig_files


[Install]
WantedBy=multi-user.target