diff options
| author | Jeff Carr <[email protected]> | 2024-10-08 11:23:44 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-08 11:23:44 -0500 |
| commit | ded9d338cc8e80943d296a44c5814f4579e185c2 (patch) | |
| tree | b7001296e0692a9250ac8a794103673ca0c8e3c6 | |
| parent | 2b1eed1409f598000edc26de189261e0d70881a6 (diff) | |
attempt a new debian package build
Signed-off-by: Jeff Carr <[email protected]>
| -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() { |
