From: Dobrica Pavlinusic Date: Thu, 8 Dec 2016 09:09:08 +0000 (+0100) Subject: reload systemd config, kill running gnt-monitors X-Git-Url: http://git.rot13.org/?p=gnt-info;a=commitdiff_plain;h=f96a87660a796120bde8f055e5e2f44c7135a0bd reload systemd config, kill running gnt-monitors --- 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