Martin/Geno aee627c058 | ||
---|---|---|
.ci | ||
mqtt | ||
runtime | ||
schalter | ||
.gitignore | ||
.gitlab-ci.yml | ||
.test-coverage | ||
LICENSE.md | ||
README.md | ||
config.go | ||
config.toml | ||
config_example.toml | ||
main.go | ||
xmpp.go |
README.md
ccchatbot
Get ccchatbot
Download
Latest Build binary from ci here:
Download All (with config example)
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