51 lines
1.1 KiB
Markdown
51 lines
1.1 KiB
Markdown
|
# 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)
|
||
|
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`
|
||
|
|
||
|
|