47 lines
1000 B
Plaintext
47 lines
1000 B
Plaintext
[ircbot]
|
|
nick=<%= @nick %>
|
|
pass=<%= @password %>
|
|
server=<%= @server %>
|
|
port=6667
|
|
<% if @channels.respond_to?('join') -%>
|
|
channels=<%= @channels.join(',') %>
|
|
<% else -%>
|
|
channels=<%= @channels %>
|
|
<% end -%>
|
|
<% if @auth_nicks.respond_to?('join') -%>
|
|
nicks=<%= @auth_nicks.join(',') %>
|
|
<% else -%>
|
|
nicks=<%= @auth_nicks %>
|
|
<% end -%>
|
|
lockfile=/var/run/statusbot/statusbot.pid
|
|
log_config=/etc/statusbot/logging.config
|
|
|
|
[wiki]
|
|
username=<%= @wiki_user %>
|
|
password=<%= @wiki_password %>
|
|
url=<%= @wiki_url %>
|
|
pageid=<%= @wiki_pageid %>
|
|
<% if @wiki_successpageid %>
|
|
successpageid=<%= @wiki_successpageid %>
|
|
<% end -%>
|
|
<% if @wiki_thankspageid %>
|
|
thankspageid=<%= @wiki_thankspageid %>
|
|
<% end -%>
|
|
|
|
|
|
<% if @irclogs_url %>
|
|
[irclogs]
|
|
url=<%= @irclogs_url %>
|
|
<% end -%>
|
|
|
|
[alertfile]
|
|
dir=/var/lib/statusbot/www
|
|
|
|
<% if @twitter %>
|
|
[twitter]
|
|
consumer_key=<%= @twitter_key %>
|
|
consumer_secret=<%= @twitter_secret %>
|
|
access_token_key=<%= @twitter_token_key %>
|
|
access_token_secret=<%= @twitter_token_secret %>
|
|
<% end -%>
|