From cd45d78c8929f14ec13282665f2b875da0e6b966 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 8 Nov 2016 14:13:50 +0000 Subject: [PATCH] remove all files on user removal --- src/freedombone-app-ghost | 2 +- src/freedombone-app-jitsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-ghost b/src/freedombone-app-ghost index 0ad21768..8ca46466 100755 --- a/src/freedombone-app-ghost +++ b/src/freedombone-app-ghost @@ -181,7 +181,7 @@ function remove_ghost { read_config_param "GHOST_DOMAIN_NAME" nginx_dissite $GHOST_DOMAIN_NAME remove_certs ${GHOST_DOMAIN_NAME} - deluser -r ghost + deluser --remove-all-files ghost if [ -f /etc/nginx/sites-available/$GHOST_DOMAIN_NAME ]; then rm -f /etc/nginx/sites-available/$GHOST_DOMAIN_NAME fi diff --git a/src/freedombone-app-jitsi b/src/freedombone-app-jitsi index 59038919..736c4fb9 100755 --- a/src/freedombone-app-jitsi +++ b/src/freedombone-app-jitsi @@ -233,7 +233,7 @@ function remove_jitsi { if [ -d /etc/jitsi ]; then rm -rf /etc/jitsi fi - deluser -r jitsi + deluser --remove-all-files jitsi if [ -d /usr/share/jitsi-videobridge ]; then rm -rf /usr/share/jitsi-videobridge fi