34 lines
681 B
Makefile
34 lines
681 B
Makefile
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
|