Adds journal command
This commit is contained in:
parent
732dc53d06
commit
e2ea28ec21
1 changed files with 4 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue