attempt a new debian package build
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
2b1eed1409
commit
ded9d338cc
4
Makefile
4
Makefile
|
@ -1,6 +1,9 @@
|
||||||
all:
|
all:
|
||||||
@echo "make run # will build and run the daemon here"
|
@echo "make run # will build and run the daemon here"
|
||||||
@echo "make debian # will build a debian package"
|
@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:
|
log:
|
||||||
@#systemctl status gowebd.service
|
@#systemctl status gowebd.service
|
||||||
|
@ -9,7 +12,6 @@ log:
|
||||||
enable:
|
enable:
|
||||||
su -c "systemctl enable gowebd.service"
|
su -c "systemctl enable gowebd.service"
|
||||||
|
|
||||||
|
|
||||||
start:
|
start:
|
||||||
su -c "systemctl start gowebd.service"
|
su -c "systemctl start gowebd.service"
|
||||||
|
|
||||||
|
|
1
args.go
1
args.go
|
@ -12,6 +12,7 @@ import (
|
||||||
|
|
||||||
var args struct {
|
var args struct {
|
||||||
ListRepos bool `arg:"--list-repos" help:"list all repositories"`
|
ListRepos bool `arg:"--list-repos" help:"list all repositories"`
|
||||||
|
Port int `arg:"--port" help:"port to run on (default is 2520)"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
Loading…
Reference in New Issue