diff --git a/cmd/vidforward/Makefile b/cmd/vidforward/Makefile index 827e2a6e..e2d85612 100644 --- a/cmd/vidforward/Makefile +++ b/cmd/vidforward/Makefile @@ -3,7 +3,6 @@ USER := $(shell whoami) PATH := /usr/local/go/bin:$(PATH) BIN_NAME := vidforward BIN_DIR := /src/bitbucket.org/ausocean/av/cmd/$(BIN_NAME) -RUN_SCRIPT_DIR := $(BIN_DIR)/run.sh .SILENT:soft_copy_files .SILENT:hard_copy_files @@ -27,7 +26,7 @@ soft_copy_files: if [ -f /etc/systemd/system/$(BIN_NAME).service ] ; then \ echo "/etc/systemd/system/$(BIN_NAME).service left unmodified" ; \ else \ - bash create_service.sh $(RUN_SCRIPT_DIR) $(BIN_DIR); \ + bash create_service.sh $(BIN_DIR); \ fi systemctl enable $(BIN_NAME).service @@ -35,7 +34,7 @@ hard_copy_files: if [ -f /etc/systemd/system/$(BIN_NAME).service ] ; then \ echo "/etc/systemd/system/$(BIN_NAME).service overwritten" ; \ fi - bash create_service.sh $(RUN_SCRIPT_DIR) $(BIN_DIR) + bash create_service.sh $(BIN_DIR) systemctl enable $(BIN_NAME).service clean: as_root