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-toggle-PING-output:
	curl "http://localhost:2521/flag?flag-PING"

curl-kill:
	curl http://localhost:2521/kill

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
