From e2ea28ec211e5fb893bd2cbeaae753878cb04346 Mon Sep 17 00:00:00 2001 From: pierreozoux Date: Sat, 26 Nov 2016 16:45:53 +0000 Subject: [PATCH] Adds journal command --- utils/libre | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/libre b/utils/libre index 13b5114..ccdd431 100755 --- a/utils/libre +++ b/utils/libre @@ -36,6 +36,10 @@ case "$1" in echo "systemctl $1 $(systemctl_param)" systemctl $1 $(systemctl_param) fi;; + journal) + if [ -n "$(systemctl_param)" ]; then + journalctl -fu $(systemctl_param) + fi;; ps|exec|logs) if [ -f ./env ]; then env $(cat ./env | xargs) docker-compose $1 ${@:2}