diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -21,17 +21,16 @@ gui: .venv/touchfile ./.venv/bin/python web-project/src/solo_tool_web.py 8080 install: deployment/solo-tool.service deployment/start-solo-tool.sh - sudo install -o root -g root -m 644 deployment/solo-tool.service /etc/systemd/system - sudo mkdir -p /var/lib/solo-tool - sudo install -o eddy -g eddy -m 700 deployment/start-solo-tool.sh /var/lib/solo-tool - sudo systemctl daemon-reload - sudo systemctl enable solo-tool.service - sudo systemctl restart solo-tool.service + mkdir -p ~/.config/systemd/user + install -o eddy -g eddy -m 644 deployment/solo-tool.service ~/.config/systemd/user + chmod 755 deployment/start-solo-tool.sh + systemctl --user daemon-reload + systemctl --user enable solo-tool.service + systemctl --user restart solo-tool.service uninstall: - sudo systemctl disable --now solo-tool.service - sudo rm -rf /var/lib/solo-tool - sudo rm /etc/systemd/system/solo-tool.service - sudo systemctl daemon-reload + systemctl --user disable --now solo-tool.service + rm ~/.config/systemd/user/solo-tool.service + systemctl --user daemon-reload .PHONY: all test clean gui install uninstall |