Add installation instruction, systemd service file

This commit is contained in:
Akbar Rahman 2021-07-29 08:43:06 +01:00
parent fd93cc4fb1
commit 372171fb86
2 changed files with 17 additions and 0 deletions

6
gohookr.service Normal file
View File

@ -0,0 +1,6 @@
[Unit]
Description=A really simple webhook receiver.
After=network.target
[Service]
ExecStart=/service/alvps/gohookr

View File

@ -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.