summaryrefslogtreecommitdiff
path: root/rconsole/rconsole-output
blob: a6eba89471cc5dce76870e758a6a1c2d629752b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
)