mirror of
https://github.com/0x1d/rcond.git
synced 2025-12-14 18:25:21 +01:00
feat: add systemd uninstall
This commit is contained in:
9
Makefile
9
Makefile
@@ -20,6 +20,15 @@ install:
|
|||||||
sudo systemctl enable rcond
|
sudo systemctl enable rcond
|
||||||
sudo systemctl start 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:
|
run:
|
||||||
bin/rcond-${ARCH} -config config/rcond.yaml
|
bin/rcond-${ARCH} -config config/rcond.yaml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user