Skip to content

Latest commit

 

History

History
 
 

systemd

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

systemd startup script

Setup

  1. Copy systemd config file udp-proxy-20202.service to /usr/lib/systemd/system/
  2. Copy the config file udp-proxy-2020.conf to /etc/udp-proxy-2020.conf
  3. Edit /etc/udp-proxy-2020.conf (see below)
  4. Run systemctl enable udp-proxy-2020 to start the service automatically on boot
  5. Run systemctl start udp-proxy-2020 to start the service

/etc/udp-proxy-2020.conf

This file may have comments (lines which start with a #), but must have a line:

ARGS="<arguments passed to udp-proxy-2020>"

Typically it will look something like this:

ARGS="--interface eth0 --interface eth1 --port 9003"

For a full list of possible arguments and their meaning, please run: udp-proxy-2020 -h

Other commands

  1. Run systemctl status udp-proxy-2020 to check that the service is running
  2. Run systemctl start udp-proxy-2020 to start the service
  3. Run systemctl stop udp-proxy-2020 to stop the service
  4. Run systemctl daemon-reload if you ever change the udp-proxy-2020.service file