#!/bin/sh /etc/rc.common
# shellcheck shell=ash
# cspell:words CFGDIR SYSCFG USRCFG cfgfile chgrp defval getline hostlist
-# cspell:words htpasswd radicale tmpconf tmpusers
+# cspell:words htpasswd radicale tmpconf tmpusers multifilesystem
# shellcheck disable=SC2034
START=99
CFGDIR=/var/etc/radicale3
SYSCFG=$CFGDIR/config
USRCFG=$CFGDIR/users
-DATADIR="/srv/radicale3/data"
+DATADIR="/var/radicale3/data"
conf_line() {
local cfgfile="$1"
conf_getline "$cfg" "$cfgfile" protocol
conf_getline "$cfg" "$cfgfile" ciphers
fi
-
- conf_getline "$cfg" "$cfgfile" dns_lookup 1 1
- conf_getline "$cfg" "$cfgfile" realm
;;
encoding)
conf_getline "$cfg" "$cfgfile" request
conf_getline "$cfg" "$cfgfile" htpasswd_encryption plain
fi
+ conf_getline "$cfg" "$cfgfile" realm
conf_getline "$cfg" "$cfgfile" delay
;;
rights)
if [ -n "$value" ]; then
DATADIR="$value"
fi
- conf_getline "$cfg" "$cfgfile" filesystem_locking 1 1
+ conf_getline "$cfg" "$cfgfile" type
conf_getline "$cfg" "$cfgfile" max_sync_token_age
- conf_getline "$cfg" "$cfgfile" filesystem_close_lock_file 0 1
conf_getline "$cfg" "$cfgfile" hook
;;
web)
conf_getline "$cfg" "$cfgfile" "type"
;;
logging)
- conf_getline "$cfg" "$cfgfile" config
- conf_getline "$cfg" "$cfgfile" debug 0 1
- conf_getline "$cfg" "$cfgfile" full_environment 0 1
+ conf_getline "$cfg" "$cfgfile" level info 0
+ conf_getline "$cfg" "$cfgfile" trace_on_debug 0 1
conf_getline "$cfg" "$cfgfile" mask_passwords 1 1
;;
headers)