Adds journal command

This commit is contained in:
pierreozoux 2016-11-26 16:45:53 +00:00
parent 732dc53d06
commit e2ea28ec21

View file

@ -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}