diff --git a/Makefile b/Makefile index 7245aa2..90af857 100644 --- a/Makefile +++ b/Makefile @@ -71,18 +71,10 @@ install : $(EXE).blacklist $(EXE).whitelist $(EXE).interlink $(EXE).cfg $(CPORLN) $(shell pwd)/$(EXE).whitelist $(CFGDIR)/$(EXE).whitelist $(CPORLN) $(shell pwd)/$(EXE).interlink $(CFGDIR)/$(EXE).interlink $(CPORLN) $(shell pwd)/$(EXE).cfg $(CFGDIR)/$(EXE).cfg - sed -e "s#XXX#$(CFGDIR)#" -e "s#YYY#$(EXE)#" systemd/mrefd.service > /etc/systemd/system/$(EXE).service cp -f $(EXE) $(BINDIR) - systemctl enable $(EXE).service - systemctl daemon-reload - systemctl start $(EXE) uninstall : rm -f $(CFGDIR)/$(EXE).blacklist rm -f $(CFGDIR)/$(EXE).whitelist rm -f $(CFGDIR)/$(EXE).interlink rm -f $(CFGDIR)/$(EXE).cfg - systemctl stop $(EXE).service - systemctl disable $(EXE).service - rm -f /etc/systemd/system/$(EXE).service - systemctl daemon-reload