Please allow the configuration to be spread over multiple files #689

Open
opened 2026-10-05 04:38:51 +02:00 by adam · 1 comment
Owner

my use case is very similar of the one in #975 where I'd like to have the main config file under git (possibly public), and the user stuff elsewhere, backed up separately.

atm I can't think of a sane way to have znc save to disk in a sensible way, unless another config option is added like SeparatedUserConf = true which removes the user and networks definition and move them to files named <datadir>/config/users/*.conf, but I'm not sure I'd call this sane.

This also kind of conflicts with #1030

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

my use case is very similar of the one in #975 where I'd like to have the main config file under git (possibly public), and the user stuff elsewhere, backed up separately. atm I can't think of a sane way to have znc save to disk in a sensible way, unless another config option is added like `SeparatedUserConf = true` which removes the user and networks definition and move them to files named `<datadir>/config/users/*.conf`, but I'm not sure I'd call this sane. This also kind of conflicts with #1030 ## <bountysource-plugin> Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31950704-please-allow-the-configuration-to-be-spread-over-multiple-files?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:141298388 -->
Author
Owner

I think it'd make sense to move user configs to users/<username>/user.conf, and network configs to users/<username>/networks/<networkname>/network.conf. It'd make it easier to have the main config under confuguration management or version control, and it'd also make it easier to move users between ZNC instances, which IMO would be very nice to have.

I think it'd make sense to move user configs to `users/<username>/user.conf`, and network configs to `users/<username>/networks/<networkname>/network.conf`. It'd make it easier to have the main config under confuguration management or version control, and it'd also make it easier to move users between ZNC instances, which IMO would be very nice to have. <!-- github-comment-id:406524762 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#689