that was dumb

This commit is contained in:
Alex 2024-12-13 09:34:10 -04:00
parent 371aa2b7fd
commit 6775798121

View File

@ -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 \