Skip to content

Commit 74a91e2

Browse files
committed
fix: ensure service is stopped before installation
1 parent 09d0296 commit 74a91e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ clean:
2222

2323
install: build
2424
@echo "Installing $(PROJECT_NAME)..."
25+
systemctl stop $(PROJECT_NAME)
2526
install -d $(CONFIG_DIR)
2627
install -m 755 $(PROJECT_NAME) $(INSTALL_DIR)/$(PROJECT_NAME)
2728
@if [ ! -f $(CONFIG_DIR)/config.yaml ]; then \

0 commit comments

Comments
 (0)