From f96a87660a796120bde8f055e5e2f44c7135a0bd Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 8 Dec 2016 10:09:08 +0100 Subject: [PATCH] reload systemd config, kill running gnt-monitors --- bin/install-gnt-monitor.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/install-gnt-monitor.sh b/bin/install-gnt-monitor.sh index 8bd8fc6..d79b9ae 100755 --- a/bin/install-gnt-monitor.sh +++ b/bin/install-gnt-monitor.sh @@ -3,6 +3,8 @@ sudo cp gnt-monitor /etc/ganeti/ sudo gnt-cluster copyfile /etc/ganeti/gnt-monitor sudo cp systemd/gnt-monitor.service /etc/systemd/system/ sudo gnt-cluster copyfile /etc/systemd/system/gnt-monitor.service +sudo gnt-cluster command systemctl daemon-reload sudo gnt-cluster command systemctl enable gnt-monitor +sudo gnt-cluster command killall gnt-monitor sudo gnt-cluster command systemctl start gnt-monitor sudo gnt-cluster command systemctl status gnt-monitor -- 2.20.1