diff --git a/Makefile b/Makefile index 4a769ce..f895479 100644 --- a/Makefile +++ b/Makefile @@ -195,13 +195,13 @@ setup-webapp-service: setup-rtsp-service: @echo "Setting up RTSP server..." $(SUDO) mkdir -p ~/rtsp - $(SUDO) cp $(CURDIR)/scripts/rtsp_server.py ~/rtsp/ - @if [ -f $(CURDIR)/scripts/rtsp-server.service ]; then \ - $(SUDO) cp $(CURDIR)/scripts/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 \ - echo "Error: rtsp-server.service not found in scripts folder."; \ + echo "Error: rtsp-server.service not found in folder."; \ fi; @echo "RTSP server set up and running."