Add systemd documentation
Add a section about running weblug as systemd service.
This commit is contained in:
parent
041922b02f
commit
919f7b5163
|
@ -20,3 +20,8 @@ Note: for custom `uid`/`gid` webhooks, the program needs to run as root.
|
|||
|
||||
make # Build weblug
|
||||
make static # Make a static binary
|
||||
|
||||
## Run as systemd unit
|
||||
|
||||
This repository provides an example [weblug.service](weblug.service), which can be used to start `weblug` as systemd service.
|
||||
This file can be placed in `/etc/systemd/system/weblug.service` and in conjunction with an adequate `weblug.yml` file e.g. in `/etc/weblug.yml` this provides a way of running weblug as a native systemd service.
|
Loading…
Reference in a new issue