forked from switnet/quick-jibri-installer
Important to remove group when using default sync
This commit is contained in:
parent
ccba4248d3
commit
d4c8d32b02
|
@ -127,12 +127,13 @@ purge_debconf jitsi-meet-turnserver
|
||||||
purge_debconf jitsi-meet-web-config
|
purge_debconf jitsi-meet-web-config
|
||||||
purge_debconf jitsi-videobridge2
|
purge_debconf jitsi-videobridge2
|
||||||
|
|
||||||
#Remove unused users
|
#Remove unused users & groups
|
||||||
if [ ! -z $SYNC_USER ]; then
|
if [ ! -z $SYNC_USER ]; then
|
||||||
deluser --remove-home $SYNC_USER
|
deluser --remove-home $SYNC_USER
|
||||||
fi
|
fi
|
||||||
if [ -d /home/jibri ]; then
|
if [ -d /home/jibri ]; then
|
||||||
deluser --remove-home jibri
|
deluser --remove-home jibri
|
||||||
fi
|
fi
|
||||||
|
groupdel jibri
|
||||||
|
|
||||||
echo "We are done..."
|
echo "We are done..."
|
||||||
|
|
Loading…
Reference in New Issue