Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 1.06 KB

README.md

File metadata and controls

50 lines (41 loc) · 1.06 KB

znc Cookbook

Install/Configure ZNC IRC bouncer.

Requirements

runit nodejs

Attributes

default['znc']['data_dir'] = '/etc/znc'
default['znc']['user'] = 'znc'
default['znc']['group'] = 'znc'

default['znc']['conf_dir']        = "#{znc['data_dir']}/configs"
default['znc']['log_dir']         = "#{znc['data_dir']}/moddata/adminlog"
default['znc']['module_dir']      = "#{znc['data_dir']}/modules"
default['znc']['users_dir']       = "#{znc['data_dir']}/users"

default['znc']['port']            = "+7777"
default['znc']['max_buffer_size'] = 500
default['znc']['modules']         = %w{ webadmin adminlog }

Usage

$ vagrant up

###webadmin Open browser link to https://localhost:5487 use g0vznc:g0vznc login

###irc connect Open irc client link to localhost:5487 /quote PASS g0vznc:g0vznc

###create user

$ sudo NODE_PATH=/usr/lib/node_modules createzncuser

Contributing

License and Authors

Authors: Yuan Hsiang Cheng ([email protected])