From 06ec9543e6914ec8e69114ea49a186346a65c532 Mon Sep 17 00:00:00 2001 From: 0x1d Date: Tue, 6 May 2025 14:21:53 +0200 Subject: [PATCH] fix: uninstall systemd service --- Makefile | 5 ++--- README.md | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index b8b653a..c13f722 100644 --- a/Makefile +++ b/Makefile @@ -23,11 +23,10 @@ install: build 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 + sudo rm /usr/local/bin/rcond + sudo rm /etc/systemd/system/rcond.service run: build bin/rcond-${ARCH} -config config/rcond.yaml diff --git a/README.md b/README.md index a1ef68d..22d45fd 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # rcond A simple daemon and REST API designed to simplify the management of various system components, including: -- Network connections: Utilizing NetworkManager's D-Bus interface to dynamically configure and monitor network connections +- Network connections: Utilizing NetworkManager's D-Bus interface to dynamically configure network connections - System hostname: Interacting with the hostname1 service to dynamically update the system's hostname - Authorized SSH keys: Directly managing the user's authorized_keys file to securely add, remove, or modify authorized SSH keys ## Requirements - Make -- Go 1.19 or later +- Go - NetworkManager - systemd - Linux operating system