fix: uninstall systemd service

This commit is contained in:
2025-05-06 14:21:53 +02:00
parent b4573635db
commit 06ec9543e6
2 changed files with 4 additions and 5 deletions

View File

@@ -23,11 +23,10 @@ install: build
uninstall: uninstall:
sudo systemctl stop rcond sudo systemctl stop rcond
sudo systemctl disable rcond sudo systemctl disable rcond
sudo systemctl remove rcond
sudo rm -rf /etc/rcond sudo rm -rf /etc/rcond
sudo rm -rf /var/rcond sudo rm -rf /var/rcond
sudo rm -rf /usr/local/bin/rcond sudo rm /usr/local/bin/rcond
sudo rm -rf /etc/systemd/system/rcond.service sudo rm /etc/systemd/system/rcond.service
run: build run: build
bin/rcond-${ARCH} -config config/rcond.yaml bin/rcond-${ARCH} -config config/rcond.yaml

View File

@@ -1,14 +1,14 @@
# rcond # rcond
A simple daemon and REST API designed to simplify the management of various system components, including: 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 - 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 - Authorized SSH keys: Directly managing the user's authorized_keys file to securely add, remove, or modify authorized SSH keys
## Requirements ## Requirements
- Make - Make
- Go 1.19 or later - Go
- NetworkManager - NetworkManager
- systemd - systemd
- Linux operating system - Linux operating system