From 5192ebdd41c71834f1e81d740aff5d56ec1491b5 Mon Sep 17 00:00:00 2001 From: Matthew McGinn Date: Wed, 25 Oct 2017 23:14:14 -0400 Subject: [PATCH] when dropping a new unit file to disk, daemon-reload isn't necessary (and is actually a bad practice) --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index d223b3f67..656c7526e 100644 --- a/Makefile +++ b/Makefile @@ -659,7 +659,6 @@ install: src/proxysql if [ ! -d /var/lib/proxysql ]; then mkdir /var/lib/proxysql ; fi ifeq ($(SYSTEMD), 1) install -m 0644 systemd/proxysql.service /usr/lib/systemd/system/ - systemctl daemon-reload systemctl enable proxysql.service else install -m 0755 etc/init.d/proxysql /etc/init.d