chore(makefile): add llamacpp service aliases
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Flynn Makefile
|
||||
# Self-hosted personal AI agent
|
||||
|
||||
.PHONY: build dev start stop restart status logs tui tui-fs tui-dev test test-run lint typecheck check help deps install daemon-start daemon-stop daemon-restart daemon-status daemon-logs enable disable llama-start llama-stop llama-restart llama-status llama-logs llama-enable llama-disable ollama-start ollama-stop ollama-restart ollama-status ollama-logs ollama-enable ollama-disable skills-list skills-info skills-install skills-uninstall skills-refresh
|
||||
.PHONY: build dev start stop restart status logs tui tui-fs tui-dev test test-run lint typecheck check help deps install daemon-start daemon-stop daemon-restart daemon-status daemon-logs enable disable llama-start llama-stop llama-restart llama-status llama-logs llama-enable llama-disable llamacpp-start llamacpp-stop llamacpp-restart llamacpp-status llamacpp-logs llamacpp-enable llamacpp-disable ollama-start ollama-stop ollama-restart ollama-status ollama-logs ollama-enable ollama-disable skills-list skills-info skills-install skills-uninstall skills-refresh
|
||||
|
||||
# Default target
|
||||
.DEFAULT_GOAL := help
|
||||
@@ -72,6 +72,21 @@ llama-disable: ## Disable llama-server from starting on boot
|
||||
systemctl --user disable llama-server.service
|
||||
@echo "Llama-server disabled from starting on boot"
|
||||
|
||||
# LlamaCpp aliases (backward compatibility)
|
||||
llamacpp-start: llama-start ## Alias for llama-start
|
||||
|
||||
llamacpp-stop: llama-stop ## Alias for llama-stop
|
||||
|
||||
llamacpp-restart: llama-restart ## Alias for llama-restart
|
||||
|
||||
llamacpp-status: llama-status ## Alias for llama-status
|
||||
|
||||
llamacpp-logs: llama-logs ## Alias for llama-logs
|
||||
|
||||
llamacpp-enable: llama-enable ## Alias for llama-enable
|
||||
|
||||
llamacpp-disable: llama-disable ## Alias for llama-disable
|
||||
|
||||
# Ollama daemon management
|
||||
ollama-start: ## Start the Ollama systemd service
|
||||
systemctl --user start ollama.service
|
||||
|
||||
Reference in New Issue
Block a user