Changing default configuration

Reindl Harald h.reindl at thelounge.net
Tue Feb 10 13:40:31 UTC 2015


Am 10.02.2015 um 14:38 schrieb Marek Skalický:
> Matthew Miller píše v Út 10. 02. 2015 v 06:19 -0500:
>> On Tue, Feb 10, 2015 at 12:12:15PM +0100, Marek Skalický wrote:
>>> does someone know what are Fedora Guidelines (or something similar)
>>> saying about this bug
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1077369 ?
>>> Is is possible to change default configuration file depending on
>>> available free space?
>>
>> Generally, making such a decision at install time is bad, because that
>> might not reflect _runtime_. For example, in the cloud image, we use a
>> / filesystem as small as Anaconda will allow, but that grows to fill
>> available storage when the image is booted.
>>
>> Is there a way to make this decision when mongodb runs?
>
> It should be possible to code this into sysv init script. But I am not
> sure if it is possible to do the same in systemd service...?
>
> My question was also about whether this should be done by mongoDB? Or
> there should be default configuration and user can easily change it in
> configuration file?

user configuration

as said, you can't make such decisions at install time nor belong they 
to the service unit

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150210/b3472e36/attachment.sig>


More information about the devel mailing list