A new bot for schalter and more in future
Find a file
2019-08-07 13:05:42 +02:00
.ci init 2019-08-06 20:31:58 +02:00
mqtt fix mqtt change prio to 1 for persistant 2019-08-07 13:05:42 +02:00
runtime init 2019-08-06 20:31:58 +02:00
schalter add simple mqtt support 2019-08-07 12:27:18 +02:00
.gitignore init 2019-08-06 20:31:58 +02:00
.gitlab-ci.yml fixes 2019-08-07 00:18:09 +02:00
.test-coverage init 2019-08-06 20:31:58 +02:00
config.go add simple mqtt support 2019-08-07 12:27:18 +02:00
config.toml add simple mqtt support 2019-08-07 12:27:18 +02:00
config_example.toml add simple mqtt support 2019-08-07 12:27:18 +02:00
LICENSE.md init 2019-08-06 20:31:58 +02:00
main.go add simple mqtt support 2019-08-07 12:27:18 +02:00
README.md first finale version 2019-08-07 00:10:37 +02:00
xmpp.go init 2019-08-06 20:31:58 +02:00

ccchatbot

pipeline status coverage report Go Report Card GoDoc

Get ccchatbot

Download

Latest Build binary from ci here:

Download All (with config example)

Download Binary

Build

go get -u dev.sum7.eu/ccchb/ccchatbot

Configure

see config_example.toml

Start / Boot

/lib/systemd/system/ccchatbot.service :

[Unit]
Description=ccchatbot
After=network.target
# After=ejabberd.service
# After=prosody.service

[Service]
Type=simple
# User=notRoot
ExecStart=/opt/go/bin/ccchatbot --config /etc/ccchatbot.conf
Restart=always
RestartSec=5sec

[Install]
WantedBy=multi-user.target

Start: systemctl start ccchatbot Autostart: systemctl enable ccchatbot