Skip to content

piot/relay-daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published