A new bot for schalter and more in future
Find a file
2019-08-06 21:05:15 +02:00
.ci init 2019-08-06 20:31:58 +02:00
runtime init 2019-08-06 20:31:58 +02:00
schalter add schalter 2019-08-06 21:05:15 +02:00
.gitignore init 2019-08-06 20:31:58 +02:00
.gitlab-ci.yml init 2019-08-06 20:31:58 +02:00
.test-coverage init 2019-08-06 20:31:58 +02:00
config.go init 2019-08-06 20:31:58 +02:00
config.toml add schalter 2019-08-06 21:05:15 +02:00
config_example.toml init 2019-08-06 20:31:58 +02:00
LICENSE.md init 2019-08-06 20:31:58 +02:00
main.go init 2019-08-06 20:31:58 +02:00
README.md init 2019-08-06 20:31:58 +02:00
xmpp.go init 2019-08-06 20:31:58 +02:00

hook2xmpp

pipeline status coverage report Go Report Card GoDoc

Get hook2xmpp

Download

Latest Build binary from ci here:

Download All (with config example)

Download Binary

Build

go get -u dev.sum7.eu/genofire/hook2xmpp

Configure

see config_example.toml

Start / Boot

/lib/systemd/system/hook2xmpp.service :

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

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

[Install]
WantedBy=multi-user.target

Start: systemctl start hook2xmpp Autostart: systemctl enable hook2xmpp