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

[Feature Request] Ability to include config snippets #229

Open
samveen opened this issue Jul 4, 2024 · 0 comments
Open

[Feature Request] Ability to include config snippets #229

samveen opened this issue Jul 4, 2024 · 0 comments

Comments

@samveen
Copy link

samveen commented Jul 4, 2024

Recently, while upgrading (to The Return of the Dev, probably) , I received the following alert while upgrading log2ram:

Configuration file '/etc/log2ram.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** log2ram.conf (Y/I/N/O/D/Z) [default=N] ? 

To work around this, log2ram would do great to have an include facility for configuration, so that the distribution configuration isn't modified, and instead, custom configuration can be added as configuration snippets into /etc/log2ram.d (or ``/etc/log2ram.conf.d`, or some other well-named/well-known path).

If it's easily possible, it'd be great to have. If not, the existing way works (with a bit of extra elbow grease on upgrades).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant