|
1 year ago | |
---|---|---|
.ci | 1 year ago | |
mqtt | 1 year ago | |
runtime | 1 year ago | |
schalter | 1 year ago | |
.gitignore | 1 year ago | |
.gitlab-ci.yml | 1 year ago | |
.test-coverage | 1 year ago | |
LICENSE.md | 1 year ago | |
README.md | 1 year ago | |
config.go | 1 year ago | |
config.toml | 1 year ago | |
config_example.toml | 1 year ago | |
main.go | 1 year ago | |
xmpp.go | 1 year ago |
Latest Build binary from ci here:
Download All (with config example)
go get -u dev.sum7.eu/ccchb/ccchatbot
see config_example.toml
/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