toes/scripts/remote-logs.sh
2026-02-12 16:33:44 -08:00

10 lines
177 B
Bash
Executable File

#!/usr/bin/env bash
set -e
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
ROOT_DIR="$SCRIPT_DIR/.."
source "$ROOT_DIR/scripts/config.sh"
ssh "$HOST" "journalctl -u toes -n 100"