that was dumb
This commit is contained in:
parent
371aa2b7fd
commit
6775798121
6
Makefile
6
Makefile
@ -195,9 +195,9 @@ setup-webapp-service:
|
||||
setup-rtsp-service:
|
||||
@echo "Setting up RTSP server..."
|
||||
$(SUDO) mkdir -p ~/rtsp
|
||||
$(SUDO) cp $(CURDIR)rtsp_server.py ~/rtsp/
|
||||
@if [ -f $(CURDIR)rtsp-server.service ]; then \
|
||||
$(SUDO) cp $(CURDIR)rtsp-server.service /etc/systemd/system/rtsp-server.service; \
|
||||
$(SUDO) cp $(CURDIR)/rtsp_server.py ~/rtsp/
|
||||
@if [ -f $(CURDIR)/rtsp-server.service ]; then \
|
||||
$(SUDO) cp $(CURDIR)/rtsp-server.service /etc/systemd/system/rtsp-server.service; \
|
||||
$(SUDO) systemctl enable rtsp-server.service; \
|
||||
$(SUDO) systemctl start rtsp-server.service; \
|
||||
else \
|
||||
|
Loading…
Reference in New Issue
Block a user