ccchatbot/README.md
2019-08-07 00:10:37 +02:00

1.3 KiB

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