remove all files on user removal
This commit is contained in:
parent
8641bb5541
commit
cd45d78c89
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue