Felix Niederwanger
121ab40b02
Adds the `uid` and `gid` settings in the main configuration file, which allows weblug to run under a unprivileged user account. This comes with the limitation, that unless the program runs as root, custom webhook `uid/gid` settings are not possible.
11 lines
181 B
YAML
11 lines
181 B
YAML
---
|
|
settings:
|
|
bind: "127.0.0.1:2089" # bind address for webserver
|
|
uid: 65534
|
|
gid: 65534
|
|
|
|
hooks:
|
|
- name: 'uid hook'
|
|
route: "/uid"
|
|
command: "id -u"
|
|
output: True |