#!/bin/bash LOG_FILE=/home/cdeaton/KitchenSync-QA/log.txt BUN=/home/cdeaton/.bun/bin/bun exec > >(while read -r line; do printf '%s %s\n' "$(date --rfc-3339=seconds)" "$line" | tee -a $LOG_FILE; done) exec 2> >(while read -r line; do printf '%s %s\n' "$(date --rfc-3339=seconds)" "$line" | tee -a $LOG_FILE; done >&2) fuser -k -n tcp 5173 cd /home/cdeaton/KitchenSync-QA/kitchensync-rewrite git pull && $BUN install && $BUN --bun run dev -- --host --https 5173 --cert /home/cdeaton/KitchenSync-QA/kitchensync-rewrite/kitchensync-ca.pem --key /home/cdeaton/KitchenSync-QA/kitchensync-rewrite/kitchensync-ca.key