diff options
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | args.go | 1 |
2 files changed, 6 insertions, 3 deletions
@@ -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 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" @@ -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() { |
