Include alternate journal path for journald option (#869)

This commit is contained in:
Mike Degatano 2021-03-29 10:23:03 -04:00 committed by GitHub
parent 3b89389c31
commit 2c47ec76db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,7 +184,7 @@ image: repo/{arch}-my-custom-addon
| init | bool | no | Default `true`. Disable the Docker default system init. Use this if the image has its own init system.
| watchdog | string | no | An URL for monitor an application this add-on. Like `http://[HOST]:[PORT:2839]/dashboard`, the port needs the internal port, which will be replaced with the effective port. It is also possible to bind the protocol part to a configuration options with: `[PROTO:option_name]://[HOST]:[PORT:2839]/dashboard` and it's looked up if it is `true` and it's going to `https`. For simple TCP port monitoring you can use `tcp://[HOST]:[PORT:80]`. It work for add-ons on host or internal network.
| realtime | bool | no | Give add-on access to host schedule including SYS_NICE for change execution time/priority.
| journald | bool | no | Default `false`. If set to `true`, the host's system journal will be mapped read-only into the add-on at `/var/log/journal`.
| journald | bool | no | Default `false`. If set to `true`, the host's system journal will be mapped read-only into the add-on. Most of the time the journal will be in `/var/log/journal` however on some hosts you will find it in `/run/log/journal`. Add-ons relying on this capability should check if the directory `/var/log/journal` is populated and fallback on `/run/log/journal` if not.
### Options / Schema