obs-r2-uploader/streaming/scripts/on_publish.sh

5 lines
137 B
Bash
Executable File

#!/bin/bash
# Called when a stream starts publishing
STREAM_NAME=$1
echo "[$(date)] Stream started: $STREAM_NAME" >> /tmp/hls/stream.log