Initial commit - stream factory

This commit is contained in:
2026-03-18 11:53:05 +01:00
commit 89cbb7e1c8
7 changed files with 100 additions and 0 deletions

13
scripts/restart_stream.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
echo "=== Restart CNEWS $(date) ===" >> /opt/stream-factory/logs/restart_stream.log
systemctl stop cnews-http.service
systemctl stop http-hls.service
rm -f /opt/stream-factory/hls/*
systemctl start http-hls.service
sleep 3
systemctl start cnews-http.service
echo "=== Restart terminé $(date) ===" >> /opt/stream-factory/logs/restart_stream.log