radicale user in the www group
This commit is contained in:
parent
19085deb83
commit
72f959bb29
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue