mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-17 03:40:14 +02:00
feat: Add logs command for journalctl and rename old one to docker-logs
This commit is contained in:
@ -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 $@
|
||||
|
Reference in New Issue
Block a user