summaryrefslogtreecommitdiff
path: root/Makefile.help
blob: aec5c44fe118f4a3070d5b75a6adda52b75a0c50 (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 gus"
	@echo "make restart   # restart gus"
	@echo "make enable    # enable gus on boot"

log:
	journalctl -f -xeu gus.service

curl-toggle-PING-output:
	curl "http://localhost:2521/flag?flag-PING"

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

status:
	dpkg -s gus
	systemctl status gus.service

enable:
	systemctl enable gus.service

stop:
	systemctl stop gus.service

restart:
	systemctl stop gus.service
	systemctl start gus.service
	make log