mirror of
https://github.com/alvierahman90/gohookr.git
synced 2024-11-22 03:29:53 +00:00
Add installation instruction, systemd service file
This commit is contained in:
parent
fd93cc4fb1
commit
372171fb86
6
gohookr.service
Normal file
6
gohookr.service
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=A really simple webhook receiver.
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/service/alvps/gohookr
|
11
readme.md
11
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.
|
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 Verification
|
||||||
|
|
||||||
Signature verificaiton is done using SHA256 HMACs.
|
Signature verificaiton is done using SHA256 HMACs.
|
||||||
|
Loading…
Reference in New Issue
Block a user