23fac31c92
This installs statusbot on eavesdrop01.opendev.org. Otherwise it's just config translation and bringing up the daemon. Change-Id: I246b2723372594e65bcd1ba90215d6831d4c0c72
47 lines
1.2 KiB
Django/Jinja
47 lines
1.2 KiB
Django/Jinja
[ircbot]
|
|
nick={{ statusbot_nick }}
|
|
pass={{ statusbot_nick_password }}
|
|
server={{ statusbot_server }}
|
|
port=6697
|
|
|
|
channels={{ statusbot_channels | join(',') }}
|
|
|
|
nicks={{ statusbot_auth_nicks | join(',') }}
|
|
lockfile=/var/run/statusbot/statusbot.pid
|
|
log_config=/etc/statusbot/logging.config
|
|
|
|
[wiki]
|
|
username={{ statusbot_wiki_user }}
|
|
password={{ statusbot_wiki_password }}
|
|
url={{ statusbot_wiki_url }}
|
|
pageid={{ statusbot_wiki_pageid }}
|
|
|
|
{% if statusbot_wiki_successpageid %}
|
|
successpageid={{ statusbot_wiki_successpageid }}
|
|
{% endif %}
|
|
{% if statusbot_wiki_successpageurl %}
|
|
successpageurl={{ statusbot_wiki_successpageurl }}
|
|
{% endif %}
|
|
{% if statusbot_wiki_thankspageid %}
|
|
thankspageid={{ statusbot_wiki_thankspageid }}
|
|
{% endif %}
|
|
{% if statusbot_wiki_thankspageurl %}
|
|
thankspageurl={{ statusbot_wiki_thankspageurl }}
|
|
{% endif %}
|
|
|
|
{% if statusbot_irclogs_url %}
|
|
[irclogs]
|
|
url={{ statusbot_irclogs_url }}
|
|
{% endif %}
|
|
|
|
[alertfile]
|
|
dir=/var/lib/statusbot/www
|
|
|
|
{% if statusbot_twitter %}
|
|
[twitter]
|
|
consumer_key={{ statusbot_twitter_key }}
|
|
consumer_secret={{ statusbot_twitter_secret }}
|
|
access_token_key={{ statusbot_twitter_token_key }}
|
|
access_token_secret={{ statusbot_twitter_token_secret }}
|
|
{% endif %}
|