Skip to content

Commit

Permalink
extend doc related to config options used
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiering committed Dec 27, 2024
1 parent a5dd4d8 commit 51960bc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,24 @@ python3 -m radicale --server-hosts 0.0.0.0:5232,[::]:5232 \
Add the argument `--config ""` to stop Radicale from loading the default
configuration files. Run `python3 -m radicale --help` for more information.

One can also use command line options in startup scripts using following examples:

```bash
## simple variable containing multiple options
RADICALE_OPTIONS="--logging-level=debug --config=/etc/radicale/config --logging-request-header-on-debug --logging-rights-rule-doesnt-match-on-debug"
/usr/bin/radicale $RADICALE_OPTIONS

## variable as array method #1
RADICALE_OPTIONS=("--logging-level=debug" "--config=/etc/radicale/config" "--logging-request-header-on-debug" "--logging-rights-rule-doesnt-match-on-debug")
/usr/bin/radicale ${RADICALE_OPTIONS[@]}

## variable as array method #2
RADICALE_OPTIONS=()
RADICALE_OPTIONS+=("--logging-level=debug")
RADICALE_OPTIONS+=("--config=/etc/radicale/config")
/usr/bin/radicale ${RADICALE_OPTIONS[@]}
```

In the following, all configuration categories and options are described.

#### server
Expand Down

0 comments on commit 51960bc

Please sign in to comment.