diff --git a/gohookr.service b/gohookr.service new file mode 100644 index 0000000..d505b94 --- /dev/null +++ b/gohookr.service @@ -0,0 +1,6 @@ +[Unit] +Description=A really simple webhook receiver. +After=network.target + +[Service] +ExecStart=/service/alvps/gohookr diff --git a/readme.md b/readme.md index 9c7921e..15ef319 100644 --- a/readme.md +++ b/readme.md @@ -9,6 +9,17 @@ Default config path is `/etc/gohookr.conf` and can be overriden by setting envir Check below for an example configuration. +## Installation + +After you [install go](https://golang.org/doc/install): + +``` +go mod tidy +go build +cp gohookr /usr/local/bin/ +cp gohookr.service /usr/lib/systemd/system/ +``` + ## Signature Verification Signature verificaiton is done using SHA256 HMACs.