Created
December 25, 2020 14:48
-
-
Save CodyKochmann/89db6eb7d06a913ffdae30bb5435331e to your computer and use it in GitHub Desktop.
systemd socket testing
This file contains 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
# for a tcp socket | |
systemd-socket-activate -l 2000 --inetd tee /tmp/test-tcp.log | |
# for a udp socket | |
systemd-socket-activate -l 2000 --inetd -d tee /tmp/test-udp.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment