rename systemd install script
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 8 Dec 2016 20:17:48 +0000 (21:17 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 8 Dec 2016 20:17:48 +0000 (21:17 +0100)
bin/install-gnt-monitor.sh [deleted file]
bin/install-systemd.sh [new file with mode: 0755]

diff --git a/bin/install-gnt-monitor.sh b/bin/install-gnt-monitor.sh
deleted file mode 100755 (executable)
index d79b9ae..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh -xe
-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
diff --git a/bin/install-systemd.sh b/bin/install-systemd.sh
new file mode 100755 (executable)
index 0000000..d79b9ae
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh -xe
+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