Skip to content
Snippets Groups Projects
Commit 7e9f249e authored by Bob Mottram's avatar Bob Mottram
Browse files

radicale user directory

parent 466dec4d
No related branches found
No related tags found
No related merge requests found
......@@ -299,6 +299,9 @@ function remove_radicale {
if [ -d /var/log/radicale ]; then
rm -rf /var/log/radicale
fi
if [ -d /var/lib/radicale ]; then
rm -rf /var/lib/radicale
fi
remove_completion_param install_radicale
sed -i '/radicale/d' $COMPLETION_FILE
......@@ -412,6 +415,11 @@ function install_radicale {
echo "{\"tag\": \"VADDRESSBOOK\", \"D:displayname\": \"${addresses_str}\"}" > /var/www/radicale/collections/addresses.props
touch /var/www/radicale/collections/addresses
if [ ! -d /var/lib/radicale ]; then
mkdir /var/lib/radicale
fi
chown radicale:radicale /var/lib/radicale
chown -R www-data:www-data /var/www/radicale
chmod -R 755 /var/www/radicale
chown -R www-data:www-data ${RADICALE_DIRECTORY}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment