From 25595a973ea1459c18b32abf7547604ecb6f572d Mon Sep 17 00:00:00 2001 From: Dmitry Kovalev Date: Mon, 11 Nov 2019 11:49:14 -0800 Subject: [PATCH] Fix joy-demo-* commands Change-Id: I4d17c6bbd16aa62e48f1f14a211b830bfdb0273a --- Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 45d87944..891d4422 100644 --- a/Makefile +++ b/Makefile @@ -74,19 +74,13 @@ docs-clean: docs-open: $(PYTHON) -m webbrowser -t "file://$(MAKEFILE_DIR)/docs/_build/html/index.html" -.PHONY: joy-demo-enable \ - joy-demo-disable \ - joy-demo-start \ - joy-demo-stop \ - joy-demo-restart \ - joy-demo-status \ - joy-demo-log +.PHONY: joy-demo-log joy-demo-%: sudo systemctl $* joy_detection_demo.service joy-demo-log: - journalctl -u joy_detection_demo.service -b -f + sudo journalctl -u joy_detection_demo.service -b -f .PHONY: lint pep8-diff lint: