20 lines
414 B
Makefile
20 lines
414 B
Makefile
|
all:
|
||
|
gowebd --version
|
||
|
@echo "make log # watch gowebd log"
|
||
|
@echo "make restart # restart gowebd"
|
||
|
@echo "make enable # enable gowebd on boot"
|
||
|
@echo "make status # show the systemd status of gowebd"
|
||
|
|
||
|
log:
|
||
|
@journalctl -f -xeu gowebd.service
|
||
|
|
||
|
status:
|
||
|
systemctl status gowebd.service
|
||
|
|
||
|
enable:
|
||
|
systemctl enable gowebd.service
|
||
|
|
||
|
restart:
|
||
|
systemctl stop gowebd.service
|
||
|
systemctl start gowebd.service
|