summaryrefslogtreecommitdiff
path: root/Makefile.help
blob: ca0c9efa32ea0c28eb49c33eaa1ee9b461acd96e (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
30
31
32
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