attempt a new debian package build

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-10-08 11:23:44 -05:00
parent 2b1eed1409
commit ded9d338cc
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,9 @@
all:
@echo "make run # will build and run the daemon here"
@echo "make debian # will build a debian package"
@echo "make restart # restart the daemon"
@echo "make enable # enable daemon on boot"
@echo "make log # watch the daemon log"
log:
@#systemctl status gowebd.service
@ -9,7 +12,6 @@ log:
enable:
su -c "systemctl enable gowebd.service"
start:
su -c "systemctl start gowebd.service"

View File

@ -12,6 +12,7 @@ import (
var args struct {
ListRepos bool `arg:"--list-repos" help:"list all repositories"`
Port int `arg:"--port" help:"port to run on (default is 2520)"`
}
func init() {