summaryrefslogtreecommitdiff
path: root/Makefile.help
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.help')
-rw-r--r--Makefile.help33
1 files changed, 33 insertions, 0 deletions
diff --git a/Makefile.help b/Makefile.help
new file mode 100644
index 0000000..ca0c9ef
--- /dev/null
+++ b/Makefile.help
@@ -0,0 +1,33 @@
+all:
+ @echo "make log # watch the zoo daemon log"
+ @echo "make status # show the systemd status of zood"
+ @echo "make restart # restart zood"
+ @echo "make enable # enable zood on boot"
+
+log:
+ journalctl -f -xeu zood.service
+
+curl-vms:
+ curl http://localhost:2520/vms
+
+curl-kill:
+ curl http://localhost:2520/kill
+
+curl-dumpdomain-coriolis:
+ # information about libvirt domain for vm 'coriolis':
+ curl --silent http://localhost:2520/dumpdomain?domain=coriolis
+
+status:
+ dpkg -s zood
+ systemctl status zood.service
+
+enable:
+ systemctl enable zood.service
+
+stop:
+ systemctl stop zood.service
+
+restart:
+ systemctl stop zood.service
+ systemctl start zood.service
+ make log