diff --git a/scripts/remote-logs.sh b/scripts/remote-logs.sh new file mode 100755 index 0000000..8bd421d --- /dev/null +++ b/scripts/remote-logs.sh @@ -0,0 +1,9 @@ +#!/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"