This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
thrempp/README.md

57 lines
1.5 KiB
Markdown
Raw Normal View History

2019-05-31 20:00:29 +02:00
# Thrempp
[![pipeline status](https://dev.sum7.eu/genofire/thrempp/badges/master/pipeline.svg)](https://dev.sum7.eu/genofire/thrempp/pipelines)
[![coverage report](https://dev.sum7.eu/genofire/thrempp/badges/master/coverage.svg)](https://dev.sum7.eu/genofire/thrempp/pipelines)
[![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/genofire/thrempp)](https://goreportcard.com/report/dev.sum7.eu/genofire/thrempp)
[![GoDoc](https://godoc.org/dev.sum7.eu/genofire/thrempp?status.svg)](https://godoc.org/dev.sum7.eu/genofire/thrempp)
2019-06-06 21:05:32 +02:00
[![](https://inverse.chat/badge.svg?room=thrempp@conference.chat.sum7.eu)](https://conversations.im/j/thrempp@conference.chat.sum7.eu)
2019-05-31 20:00:29 +02:00
2019-05-31 10:07:40 +02:00
XMPP - Transport
ATM planned support for Threema only
## Get thrempp
#### Download
Latest Build binary from ci here:
[Download All](https://dev.sum7.eu/genofire/thrempp/-/jobs/artifacts/master/download/?job=build-my-project) (with config example)
[Download Binary](https://dev.sum7.eu/genofire/thrempp/-/jobs/artifacts/master/raw/bin/thrempp?inline=false&job=build-my-project)
#### Build
```bash
go get -u dev.sum7.eu/genofire/thrempp
```
## Configure
see `config_example.conf`
## Start / Boot
_/lib/systemd/system/thrempp.service_ :
```
[Unit]
Description=thrempp
After=network.target
# After=ejabberd.service
# After=prosody.service
[Service]
Type=simple
# User=notRoot
ExecStart=/opt/go/bin/thrempp serve --config /etc/thrempp.conf
Restart=always
RestartSec=5sec
[Install]
WantedBy=multi-user.target
```
Start: `systemctl start thrempp`
Autostart: `systemctl enable thrempp`