projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ff31c
)
reload systemd config, kill running gnt-monitors
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 8 Dec 2016 09:09:08 +0000
(10:09 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 8 Dec 2016 09:09:08 +0000
(10:09 +0100)
bin/install-gnt-monitor.sh
patch
|
blob
|
history
diff --git
a/bin/install-gnt-monitor.sh
b/bin/install-gnt-monitor.sh
index
8bd8fc6
..
d79b9ae
100755
(executable)
--- 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