From 4fbda5a9af95345504636d178e26b248791a2262 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 26 Dec 2017 19:36:21 +0000 Subject: Initial commit. No history was lost as the scripts had no history in the first place. --- rconsole/rconsole-output | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 rconsole/rconsole-output (limited to 'rconsole/rconsole-output') diff --git a/rconsole/rconsole-output b/rconsole/rconsole-output new file mode 100755 index 0000000..a6eba89 --- /dev/null +++ b/rconsole/rconsole-output @@ -0,0 +1,12 @@ +#!/bin/bash + +trap 'screen -S "$RCONSOLE_SCREEN" -X quit; exit' SIGINT + +IDENTIFIER="tremded@$RCONSOLE_INSTANCE" + +journalctl --user -f -o cat SYSLOG_IDENTIFIER="$IDENTIFIER" \ +|| ( + echo "journalctl didn't work" + read + exit +) -- cgit