feat: Add logs command for journalctl and rename old one to docker-logs

This commit is contained in:
janskiba
2024-06-05 12:35:44 +00:00
parent 68f06c0d9d
commit a018104e0b
3 changed files with 10 additions and 4 deletions

View File

@ -107,6 +107,11 @@ case "$ACTION" in
exit $?
;;
logs)
loadVars
shift 2
exec journalctl -u bridgehead@$PROJECT -u bridgehead-update@$PROJECT -a $@
;;
docker-logs)
loadVars
shift 2
exec $COMPOSE -p $PROJECT -f ./minimal/docker-compose.yml -f ./$PROJECT/docker-compose.yml $OVERRIDE logs -f $@