X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=radicale-setup;h=aed914b1c3eb2f635891ef0a6e616c8db4d3a5db;hb=f7a2fe0e56e14b55818245a2e3a2eb68f1cd23de;hp=b885f36ef05074a7bdeaa9ad6aefeb324ba92942;hpb=6a00cb7fd60392cb2aa1343af02b5d95a5e6241f;p=distro-setup diff --git a/radicale-setup b/radicale-setup index b885f36..aed914b 100755 --- a/radicale-setup +++ b/radicale-setup @@ -9,14 +9,36 @@ # http://radicale.org/user_documentation/ # https://davdroid.bitfire.at/configuration/ +# note on debugging: if radicale can't bind to the address, +# in the log it just says "Starting Radicale". If you run +# it in the foreground, it will give more info. Background +# plus debug does not help. +# sudo -u radicale radicale -D -f # created password file with: -# htpasswd -c /etc/nginx/caldav/htpasswd ian - - -# python-dulwich, to track changes with git, per -# http://radicale.org/user_documentation/#idgit-support -pi nginx python-dulwich radicale +# htpasswd -c /etc/davpass dav + +vpn_ser=openvpn-client +if [[ ! -e /lib/systemd/system/openvpn-client@.service ]]; then + vpn_ser=openvpn +fi + +d=/etc/systemd/system/radicale.service.d +mkdir -p $d +sudo dd of=$d/override.conf <