diff options
| author | Jeff Carr <[email protected]> | 2024-10-08 11:36:46 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-11 17:15:57 -0500 |
| commit | d827c398f00e965f5b57447c7d730f96442e1173 (patch) | |
| tree | 0b89a8c17918ecdbb28887e4b228ab746517939c /resources/Makefile | |
| parent | c6be85e92f00b527ccd2e7bf55f804f9a1619e88 (diff) | |
try to rename as gowebd
put the HTML assets raw in the binary also
I'm how old and still committed a binary. squashed
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'resources/Makefile')
| -rw-r--r-- | resources/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/resources/Makefile b/resources/Makefile new file mode 100644 index 0000000..380f57c --- /dev/null +++ b/resources/Makefile @@ -0,0 +1,19 @@ +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 |
