Initial commit - stream factory
This commit is contained in:
13
services/cnews-http.service
Normal file
13
services/cnews-http.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=CNEWS HLS HTTP Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=eveny
|
||||
WorkingDirectory=/opt/stream-factory/hls
|
||||
ExecStart=/usr/bin/python3 -m http.server 8080
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user