diff options
Diffstat (limited to 'socat.sh')
-rwxr-xr-x | socat.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |