summaryrefslogtreecommitdiff
path: root/Makefile.help
blob: 9904d4bb8e66cd06992d748a90ab6888451e6503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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