Write and Enable a systemd Service
/opt/relay/bin/relay is a daemon that has been started by hand. This server image is built offline, so systemd is not running yet. Prepare the service the way it will run in production.
Create the unit /etc/systemd/system/relay.service so that:
/opt/relay/bin/relay --config /etc/relay.confrelay and group relaynetwork-online.target), and wants that targetDescription mentioning relayThen enable it for the normal multi-user boot, exactly as systemctl enable would.
About this machine
Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.
Your machine is ready to start
Create a free account to open a machine and get graded.