Makefile: fix disabling the service
authorAntonio Ospite <ao2@ao2.it>
Sun, 26 Aug 2018 10:12:30 +0000 (12:12 +0200)
committerAntonio Ospite <ao2@ao2.it>
Sun, 26 Aug 2018 10:12:30 +0000 (12:12 +0200)
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