Нет описания

Martin Kunz f8784aca30 non absolute urls for reverse proxy лет назад: 5
.idea d13938571a accept post parameters лет назад: 5
src f8784aca30 non absolute urls for reverse proxy лет назад: 5
.gitignore 4fc004a8e5 import лет назад: 5
README.md f1ff2f556a Add 'README.md' лет назад: 5
pom.xml f8784aca30 non absolute urls for reverse proxy лет назад: 5
transceivr.iml 4fc004a8e5 import лет назад: 5

README.md

Transceivr

Transfer files from source to target http location.

API

Prerequisites

Usage

Usage: <main class> -p=<port> [-w=<webroot>]
  -p, --port=<port>         HTTP Server port
  -w, --webroot=<webroot>   Use webroot from filesystem
./jdk-12+33-jre/bin/java -jar transceivr-1.0-SNAPSHOT-shaded.jar

Deployment

systemd service documentation

[Unit]
Description=Transceivr
After=syslog.target

[Service]
Type=notify
NotifyAccess=all
WorkingDirectory=/opt/myserver/
ExecStart=/usr/bin/java -server -jar transceivr.jar -p=8080
# WatchdogSec=30
Restart=always

[Install]
WantedBy=multi-user.target

Built With

  • Spark - The web framework used
  • Maven - Dependency Management
  • OkHttp - An HTTP & HTTP/2 client for Android and Java applications
  • SDNotify - SDNotify implements the systemd notification protocol in Java.