30 lines
553 B
Makefile
30 lines
553 B
Makefile
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
|