mjpeg relay v pythonu
parent
9356828055
commit
ffd3ede9c3
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "mjpeg-relay"]
|
||||||
|
path = mjpeg-relay
|
||||||
|
url = https://github.com/OliverF/mjpeg-relay
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b87d1c25d0876b067de68fe51a418d559f67beb4
|
|
@ -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
|
Loading…
Reference in New Issue