Makefile: fix disabling the service
[experiments/cyclabile.git] / Makefile
index 6118bcc..08dc836 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,7 @@ install_service:
        cp cyclabile.service $(DESTIR)/lib/systemd/system/
 
 uninstall_service:
        cp cyclabile.service $(DESTIR)/lib/systemd/system/
 
 uninstall_service:
-       systemctl enable cyclabile.service
+       systemctl disable cyclabile.service
        rm $(DESTIR)/lib/systemd/system/cyclabile.service
        rm $(DESTDIR)/lib/udev/rules.d/90-projector.rules
        udevadm control --reload
        rm $(DESTIR)/lib/systemd/system/cyclabile.service
        rm $(DESTDIR)/lib/udev/rules.d/90-projector.rules
        udevadm control --reload