summaryrefslogtreecommitdiff
path: root/Makefile.help
blob: c64a2dcc24272459a3fa82f4c756385b7fe4bd2b (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 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