mjpeg relay v pythonu

master
Jure Podgorše 2023-06-06 16:00:02 +02:00
parent 9356828055
commit ffd3ede9c3
3 changed files with 19 additions and 0 deletions

3
.gitmodules vendored 100644
View File

@ -0,0 +1,3 @@
[submodule "mjpeg-relay"]
path = mjpeg-relay
url = https://github.com/OliverF/mjpeg-relay

1
mjpeg-relay 160000

@ -0,0 +1 @@
Subproject commit b87d1c25d0876b067de68fe51a418d559f67beb4

View File

@ -0,0 +1,15 @@
[Unit]
Description=MJPEG relay
After=network.target
[Service]
# Tuneliraj lokalni port 22 na streznikov port 2222
User=g1smo
RemainAfterExit=yes
WorkingDirectory=/home/g1smo/galerija-bot/mjpeg-relay
ExecStart=python2 relay.py http://localhost:8989/stream
RestartSec=5
Restart=always
[Install]
WantedBy=multi-user.target