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

5 lines
134 B
Bash
Executable File

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