Initial commit - stream factory
This commit is contained in:
30
services/http-hls.service
Normal file
30
services/http-hls.service
Normal file
@ -0,0 +1,30 @@
|
||||
[Unit]
|
||||
Description=HLS Stream
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/opt/stream-factory/bin/http-hls.sh
|
||||
|
||||
# 🔥 CRITIQUE
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
# 🔒 stabilité
|
||||
KillSignal=SIGINT
|
||||
TimeoutStopSec=10
|
||||
|
||||
# 👤 user
|
||||
User=eveny
|
||||
WorkingDirectory=/opt/stream-factory
|
||||
|
||||
# 📜 logs
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
# 🧠 évite blocage
|
||||
StartLimitInterval=0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user