dataset/seed/znc/templates/znc.conf

59 lines
1.3 KiB
Text
Raw Permalink Normal View History

2022-12-25 17:09:14 +01:00
//GNUNUX generate with command znc --makeconf
// WARNING
//
// Do NOT edit this file while ZNC is running!
// Use webadmin or *controlpanel instead.
//
// Altering this file by hand will forfeit all support.
//
// But if you feel risky, you might want to read help on /znc saveconfig and /znc rehash.
// Also check https://wiki.znc.in/Configuration
//>GNUNUX
2023-06-23 08:12:05 +02:00
SSLCertFile = {{ tls_cert_directory }}/znc.crt
SSLKeyFile = {{ tls_key_directory }}/znc.key
2022-12-25 17:09:14 +01:00
//<GNUNUX
Version = 1.8.2
<Listener l>
//>GNUNUX
AllowWeb = false
//<GNUNUX
Port = 5535
IPv4 = true
IPv6 = false
SSL = true
</Listener>
//GNUNUX LoadModule = webadmin
2023-06-23 08:12:05 +02:00
<User {{ user_name }}>
@@PASSWORD@@
2022-12-25 17:09:14 +01:00
Admin = false
2023-06-23 08:12:05 +02:00
Nick = {{ user_name }}
AltNick = {{ user_name}}_
Ident = {{ user_name }}
2022-12-25 17:09:14 +01:00
LoadModule = chansaver
//GNUNUX LoadModule = controlpanel
//>GNUNUX
2023-06-23 08:12:05 +02:00
RealName = {{ real_name }}
2022-12-25 17:09:14 +01:00
//<GNUNUX
2023-06-23 08:12:05 +02:00
{% for server in server_names %}
<Network {{ server }}>
2022-12-25 17:09:14 +01:00
LoadModule = simple_away
//>GNUNUX
LoadModule = keepnick
LoadModule = kickrejoin
LoadModule = nickserv
IRCConnectEnabled = true
//<GNUNUX
2023-06-23 08:12:05 +02:00
Server = {{ server }} +{{ server.port }} {{ server.password }}
{% for channel in server.channels %}
<Chan #{{ channel }}>
2022-12-25 17:09:14 +01:00
</Chan>
2023-06-23 08:12:05 +02:00
{% endfor %}
2022-12-25 17:09:14 +01:00
</Network>
2023-06-23 08:12:05 +02:00
{% endfor %}
2022-12-25 17:09:14 +01:00
</User>