We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74a91e2 commit d9d95c6Copy full SHA for d9d95c6
1 file changed
Makefile
@@ -22,7 +22,6 @@ clean:
22
23
install: build
24
@echo "Installing $(PROJECT_NAME)..."
25
- systemctl stop $(PROJECT_NAME)
26
install -d $(CONFIG_DIR)
27
install -m 755 $(PROJECT_NAME) $(INSTALL_DIR)/$(PROJECT_NAME)
28
@if [ ! -f $(CONFIG_DIR)/config.yaml ]; then \
@@ -34,7 +33,7 @@ install: build
34
33
install -m 644 packaging/$(PROJECT_NAME).service $(SYSTEMD_DIR)/$(PROJECT_NAME).service
35
systemctl daemon-reload
36
systemctl enable $(PROJECT_NAME)
37
- systemctl start $(PROJECT_NAME)
+ systemctl restart $(PROJECT_NAME)
38
@echo "Installation complete. Service $(PROJECT_NAME) is running and enabled on boot."
39
40
uninstall:
0 commit comments