From 2ba796e6fa1406f57fcd0f9f065c37946879b26a Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Fri, 8 Jul 2016 21:27:51 +0200 Subject: systemctl: Use --force when enabling unit to avoid errors Signed-off-by: Michael Buesch --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cdb7a73..d542e2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,7 @@ if(SYSTEMD_UNIT_DIR) WORLD_READ) install_exec_cmd("systemctl --system daemon-reload" "If you use systemd, please reload systemd manually or reboot the system") - install_exec_cmd("systemctl --system enable razerd.service" + install_exec_cmd("systemctl --system --force enable razerd.service" "If you use systemd, enable razerd.service manually") endif(SYSTEMD_UNIT_DIR) -- cgit v1.2.3