You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
.ci | 4 years ago | |
mqtt | 4 years ago | |
runtime | 4 years ago | |
schalter | 4 years ago | |
.gitignore | 4 years ago | |
.gitlab-ci.yml | 4 years ago | |
.test-coverage | 4 years ago | |
LICENSE.md | 4 years ago | |
README.md | 4 years ago | |
config.go | 4 years ago | |
config.toml | 4 years ago | |
config_example.toml | 4 years ago | |
main.go | 4 years ago | |
xmpp.go | 4 years ago |
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