Last active
October 9, 2025 10:14
-
-
Save fathonix/c78085df5dddc31cc0a738ccab3a8512 to your computer and use it in GitHub Desktop.
Systemd service for UDPspeeder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/default/udpspeeder | |
ARGS="-c -l0.0.0.0:3333 -r44.55.66.77:4096 -f20:10 -k passwd" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /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