LinuxmacOS

Where Does ZNC Store Configs and Modules?

ZNC ~/.znc home with configs/znc.conf, users trees and module data for the IRC bouncer.

Last updated

The ZNC bouncer keeps its config (configs/znc.conf), per user settings and module data under .znc in the running user home. make install never touches it; upgrades preserve the tree.

Generate the config with the config maker on first run rather than hand writing. Module data (log, playback buffers) sits beside configs per user.

Where ZNC stores this, by platform

Linux
~/.znc/configs/znc.conf

Users and modules subtrees beside configs. Systemd units often run znc as its own user with a different home; check the unit file.

macOS
~/.znc/configs/znc.conf

Same layout for Homebrew builds. In Finder use Go > Go to Folder for dotfolders.

Frequently asked questions

How do I move ZNC to a new server?

Stop znc, copy the whole .znc dir preserving permissions, start on the new host. Re point listeners if IPs changed.

Where are ZNC playback buffers?

In per user module data (e.g. log and playback modules). They replay missed chat on client connect.

Notice an outdated path? Let us know.