summaryrefslogtreecommitdiff
path: root/Makefile.help
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-15 18:49:52 -0600
committerJeff Carr <[email protected]>2024-11-15 18:49:52 -0600
commitfbd638aec099fc88c5bd616dff891bb942d2de4b (patch)
tree0f3a8abb3e61ec3261f5db803fb561e2c221e04c /Makefile.help
day 1.v0.0.1
Diffstat (limited to 'Makefile.help')
-rw-r--r--Makefile.help29
1 files changed, 29 insertions, 0 deletions
diff --git a/Makefile.help b/Makefile.help
new file mode 100644
index 0000000..9904d4b
--- /dev/null
+++ b/Makefile.help
@@ -0,0 +1,29 @@
+all:
+ @echo "make log # watch the zookeeper log"
+ @echo "make status # show the systemd status of zookeeper"
+ @echo "make restart # restart zookeeper"
+ @echo "make enable # enable zookeeper on boot"
+
+log:
+ journalctl -f -xeu zookeeper.service
+
+curl-vms:
+ curl http://localhost:2520/vms
+
+curl-kill:
+ curl http://localhost:2520/kill
+
+status:
+ dpkg -s zookeeper
+ systemctl status zookeeper.service
+
+enable:
+ systemctl enable zookeeper.service
+
+stop:
+ systemctl stop zookeeper.service
+
+restart:
+ systemctl stop zookeeper.service
+ systemctl start zookeeper.service
+ make log