From f0fdeabafa10074dddb84dd93528fd8a012ce78a Mon Sep 17 00:00:00 2001 From: 0x1d Date: Tue, 6 May 2025 13:41:47 +0200 Subject: [PATCH] feat: add systemd uninstall --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 11acf50..a027750 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,15 @@ install: sudo systemctl enable rcond sudo systemctl start rcond +uninstall: + sudo systemctl stop rcond + sudo systemctl disable rcond + sudo systemctl remove rcond + sudo rm -rf /etc/rcond + sudo rm -rf /var/rcond + sudo rm -rf /usr/local/bin/rcond + sudo rm -rf /etc/systemd/system/rcond.service + run: bin/rcond-${ARCH} -config config/rcond.yaml