Martin Kunz f8784aca30 non absolute urls for reverse proxy | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.idea | %!s(int64=5) %!d(string=hai) anos | |
src | %!s(int64=5) %!d(string=hai) anos | |
.gitignore | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
pom.xml | %!s(int64=5) %!d(string=hai) anos | |
transceivr.iml | %!s(int64=5) %!d(string=hai) anos |
Transfer files from source to target http location.
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
[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