#!/bin/bash # Fetch logs from the production task-dashboard service # # Usage: # scripts/logs # last 100 lines # scripts/logs -f # follow (tail -f) # scripts/logs -n 500 # last 500 lines # scripts/logs --since "1 hour ago" # scripts/logs --grep "error" journalctl -u task-dashboard@doot.terst.org --no-pager "$@"