webhookd-0.1.1 is not a library.
webhookd
A simple gitlab web hooks daemon. Run scripts whenever hook is triggered.
Installation
There are two ways:
- Run
cargo install webhookdto install webhookd. - Use
cargo-deb:
> cargo install cargo-deb
> git clone https://github.com/jiegec/webhookd.git
> cd webhookd
> cargo deb --install
Configuration
See example.toml for usage.
Usage
Run webhookd manually:
> RUST_LOG=info
Run webhookd in systemd:
> sudo
# Add the following lines if needed
User=nobody
Group=nobody
Environment="WEBHOOKD_CONFIG=/path/to/config.toml"
Then, run sudo systemctl enable --now webhookd to activate.