Crates.io | liboverdrop |
lib.rs | liboverdrop |
version | 0.1.0 |
source | src |
created_at | 2019-06-14 13:40:13.21331 |
updated_at | 2023-02-03 18:45:06.296593 |
description | Configuration library, with directory overlaying and fragments dropins |
homepage | |
repository | https://github.com/coreos/liboverdrop-rs |
max_upload_size | |
id | 141111 |
size | 26,542 |
A simple Rust library to handle configuration fragments.
This crate provides helpers to scan configuration fragments on disk. The goal is to help in writing Linux services which are shipped as part of a Reproducible OS. Its name derives from overlays and dropins (base directories and configuration fragments).
The main entrypoint is scan
. It scans
for configuration fragments across multiple directories (with increasing priority),
following these rules:
50-default-limits.conf
)./etc/svc/custom.conf
can override /usr/lib/svc/custom.conf
)./dev/null
is used to ignore any previous fragment with the same filename.Licensed under either of
at your option.