Skip to content

Commit

Permalink
Improved socat commands
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Jun 27, 2024
1 parent 754fc97 commit 46150dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/remote/lognot-get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ tail -f /var/log/supervisor/portmap-ssh-stderr-* |
withprefix 'portmap-ssh.E: ' &

rm -f /tmp/lognot-misc.sock
socat UNIX-LISTEN:/tmp/lognot-misc.sock,mode=666,fork STDOUT |
withprefix 'misc: ' &
socat UNIX-LISTEN:/tmp/lognot-misc.sock,mode=666,fork - | withprefix 'misc: ' &

wait # until all jobs finish
trap - EXIT

0 comments on commit 46150dd

Please sign in to comment.