Important to remove group when using default sync

This commit is contained in:
Luis Guzmán 2021-07-02 16:50:14 -05:00
parent ccba4248d3
commit d4c8d32b02
1 changed files with 2 additions and 1 deletions

View File

@ -127,12 +127,13 @@ purge_debconf jitsi-meet-turnserver
purge_debconf jitsi-meet-web-config
purge_debconf jitsi-videobridge2
#Remove unused users
#Remove unused users & groups
if [ ! -z $SYNC_USER ]; then
deluser --remove-home $SYNC_USER
fi
if [ -d /home/jibri ]; then
deluser --remove-home jibri
fi
groupdel jibri
echo "We are done..."