genofire 1babcc195c | ||
---|---|---|
.ci | ||
circleci | ||
git | ||
gitlab | ||
grafana | ||
prometheus | ||
runtime | ||
vendor/gosrc.io | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
.test-coverage | ||
LICENSE.md | ||
README.md | ||
config_example.toml | ||
main.go | ||
xmpp.go |
README.md
hook2xmpp
Get hook2xmpp
Download
Latest Build binary from ci here:
Download All (with config example)
Build
go get -u dev.sum7.eu/sum7/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