radicale user in the www group

This commit is contained in:
Bob Mottram 2017-05-11 17:21:37 +01:00
parent 19085deb83
commit 72f959bb29
1 changed files with 4 additions and 0 deletions

View File

@ -282,6 +282,7 @@ function remove_radicale {
fi
firewall_remove ${RADICALE_PORT} tcp
deluser radicale
function_check remove_onion_service
remove_onion_service radicale ${RADICALE_ONION_PORT}
@ -320,6 +321,9 @@ function install_radicale {
apt-get -yq remove --purge radicale python-radicale
useradd -c "Radicale system account" -d /var/www/radicale -m -r -g radicale radicale
usermod -a -G www-data radicale
# create directories
if [ ! -d /var/log/radicale ]; then
mkdir /var/log/radicale