summaryrefslogtreecommitdiff
path: root/socat.sh
diff options
context:
space:
mode:
Diffstat (limited to 'socat.sh')
-rwxr-xr-xsocat.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/socat.sh b/socat.sh
index 1afb4a4..d289e98 100755
--- a/socat.sh
+++ b/socat.sh
@@ -71,6 +71,9 @@ main()
71 status) 71 status)
72 systemctl status "$UNIT" 72 systemctl status "$UNIT"
73 ;; 73 ;;
74 monitor)
75 journalctl -u "$UNIT" -f
76 ;;
74 *) 77 *)
75 echo "Usage: $0 install [destination [destination port [local port]]]" >&2 78 echo "Usage: $0 install [destination [destination port [local port]]]" >&2
76 echo " $0 status" >&2 79 echo " $0 status" >&2