Linux command
znc 命令
网络
需要网络或远程资源。
常用示例
Example
znc -c
Start
znc
Example
sudo -u znc znc -c -d /var/lib/znc
Example
systemctl enable znc --now
说明
znc is an IRC bouncer that maintains a persistent connection to IRC servers on your behalf. When you disconnect your IRC client, ZNC stays connected and buffers all messages, channel activity, and notifications, then plays them back when you reconnect. ZNC supports multiple simultaneous IRC networks and multiple user accounts, making it suitable for both personal use and shared installations. It provides SSL/TLS encryption, a web-based administration interface, and an extensive module system for features like logging, automated responses, and client-side scripting. Initial configuration is performed interactively with the -c flag, which walks through network, user, and port setup. After configuration, ZNC runs as a background daemon by default.
参数
- -c, --makeconf
- Run initial configuration wizard
- -d, --datadir _DIR_
- Use specified data directory
- -f, --foreground
- Run in foreground (no daemon)
- -D, --debug
- Enable debug output
FAQ
What is the znc command used for?
znc is an IRC bouncer that maintains a persistent connection to IRC servers on your behalf. When you disconnect your IRC client, ZNC stays connected and buffers all messages, channel activity, and notifications, then plays them back when you reconnect. ZNC supports multiple simultaneous IRC networks and multiple user accounts, making it suitable for both personal use and shared installations. It provides SSL/TLS encryption, a web-based administration interface, and an extensive module system for features like logging, automated responses, and client-side scripting. Initial configuration is performed interactively with the -c flag, which walks through network, user, and port setup. After configuration, ZNC runs as a background daemon by default.
How do I run a basic znc example?
Run `znc -c` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c, --makeconf do in znc?
Run initial configuration wizard