|  | @@ -282,6 +282,7 @@ function remove_radicale {
 | 
	
		
			
			| 282 | 282 |      fi
 | 
	
		
			
			| 283 | 283 |  
 | 
	
		
			
			| 284 | 284 |      firewall_remove ${RADICALE_PORT} tcp
 | 
	
		
			
			|  | 285 | +    deluser radicale
 | 
	
		
			
			| 285 | 286 |  
 | 
	
		
			
			| 286 | 287 |      function_check remove_onion_service
 | 
	
		
			
			| 287 | 288 |      remove_onion_service radicale ${RADICALE_ONION_PORT}
 | 
	
	
		
			
			|  | @@ -320,6 +321,9 @@ function install_radicale {
 | 
	
		
			
			| 320 | 321 |  
 | 
	
		
			
			| 321 | 322 |      apt-get -yq remove --purge radicale python-radicale
 | 
	
		
			
			| 322 | 323 |  
 | 
	
		
			
			|  | 324 | +    useradd -c "Radicale system account" -d /var/www/radicale -m -r -g radicale radicale
 | 
	
		
			
			|  | 325 | +    usermod -a -G www-data radicale
 | 
	
		
			
			|  | 326 | +
 | 
	
		
			
			| 323 | 327 |      # create directories
 | 
	
		
			
			| 324 | 328 |      if [ ! -d /var/log/radicale ]; then
 | 
	
		
			
			| 325 | 329 |          mkdir /var/log/radicale
 |