Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.19 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.19 KB

Relay Daemon

Install

Extract the release zip containing the relay linux executable and relay.service systemd unit file.

sudo chmod a+x relay
sudo cp relay /usr/local/sbin/
sudo cp relay.service /usr/local/lib/systemd/system/
  • Make systemd reload all .service-files
systemctl daemon-reload
  • Check that systemd has read the .service-file:
systemctl status relay --output cat

It should report something similar to:

○ relay.service - UDP Relay
     Loaded: loaded (/usr/local/lib/systemd/system/relay.service; disabled; preset: disabled)
     Active: inactive (dead)
  • Make sure it is started, if machine is rebooted in the future:
systemctl enable relay
  • Start it now:
systemctl start relay

Useful commands

journalctl

journalctl outputs the log entries stored in the journal.

journalctl -u relay -b --output cat -f