various scripts I use to make my life easier

testing out post-recieve

Changed files
+1
+1
post-recieve
···
LOGFILE="/var/log/knot-sync.log" #log our syncing isssues
if [ ! -f "$KNOT_FILE" ]; then
+
echo "[$(date)] $REPO_PATH: knot.conf not found, skipping", >> "$LOGFILE"
exit 0
fi
REPO_URL=$(cat "$KNOT_FILE" | tr -d '\n' | xargs)