Skip to content

Instantly share code, notes, and snippets.

@fathonix
Last active October 9, 2025 10:14
Show Gist options
  • Save fathonix/c78085df5dddc31cc0a738ccab3a8512 to your computer and use it in GitHub Desktop.
Save fathonix/c78085df5dddc31cc0a738ccab3a8512 to your computer and use it in GitHub Desktop.
Systemd service for UDPspeeder
# /etc/default/udpspeeder
ARGS="-c -l0.0.0.0:3333 -r44.55.66.77:4096 -f20:10 -k passwd"
# /etc/systemd/system/udpspeeder.service
[Unit]
Description=UDPspeeder
After=network-online.target
[Install]
WantedBy=multi-user.target
[Service]
EnvironmentFile=/etc/default/udpspeeder
ExecStart=/bin/sh -c '[ -n "$ARGS" ] && udpspeeder $ARGS || exit 1'
Restart=on-failure
RestartSec=5s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment