Skip to content
Snippets Groups Projects
Commit e2ea28ec authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Adds journal command

parent 732dc53d
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment