Add systemd documentation

Add a section about running weblug as systemd service.
This commit is contained in:
Felix Niederwanger 2023-04-21 18:59:13 +02:00
parent 041922b02f
commit 919f7b5163
Signed by: phoenix
GPG key ID: 6E77A590E3F6D71C

View file

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