aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2016-07-08 21:27:51 +0200
committerMichael Buesch <m@bues.ch>2016-07-08 21:27:51 +0200
commit2ba796e6fa1406f57fcd0f9f065c37946879b26a (patch)
treef3b83d9f58dc736f753b02077951612bfafbf23d
parent3865de0f9b15e013ccdd6d4d1a3932bf95bb1fea (diff)
downloadrazer-tmp-testing.zip
razer-tmp-testing.tar.xz
systemctl: Use --force when enabling unit to avoid errorstmp-testing
Signed-off-by: Michael Buesch <m@bues.ch>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)
bues.ch cgit interface