This commit has been accessed 1,904 times via Git panel.
commit 6a025a8f327ca80beb3fde41e5a22ff6214b5824
tree afd7b31b9f45c8a21bdf8508f4f3f1f07eec27d3
parent fd7ed0d90609216a698914d0896a99932c9f8fb1
author Emman Balintec <emman@kalasag.org> 1526381557 +0800
committer Emman Balintec <emman@kalasag.org> 1526381557 +0800
Add graceful uninstall
diff --git a/Makefile b/Makefile
index b1b55e2..0620508 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,9 @@ clean:
/bin/rm ./kalasag
uninstall:
+ /bin/systemctl stop kalasag.service
+ /bin/systemctl disable kalasag.service
+ /bin/rm /usr/lib/systemd/system/kalasag.service
/bin/rm $(INSTALLDIR)$(CHILDDIR)/*
/bin/rmdir $(INSTALLDIR)$(CHILDDIR)
tree afd7b31b9f45c8a21bdf8508f4f3f1f07eec27d3
parent fd7ed0d90609216a698914d0896a99932c9f8fb1
author Emman Balintec <emman@kalasag.org> 1526381557 +0800
committer Emman Balintec <emman@kalasag.org> 1526381557 +0800
Add graceful uninstall
diff --git a/Makefile b/Makefile
index b1b55e2..0620508 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,9 @@ clean:
/bin/rm ./kalasag
uninstall:
+ /bin/systemctl stop kalasag.service
+ /bin/systemctl disable kalasag.service
+ /bin/rm /usr/lib/systemd/system/kalasag.service
/bin/rm $(INSTALLDIR)$(CHILDDIR)/*
/bin/rmdir $(INSTALLDIR)$(CHILDDIR)