coturn TURN server project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
coturn/debian/coturn.postrm

26 lines
495 B

#!/bin/sh
set -e
TURNSERVER_USER=turnserver
TURNSERVER_GROUP=turnserver
if [ "$1" = "purge" ] ; then
if getent passwd $TURNSERVER_USER >/dev/null; then
userdel $TURNSERVER_USER
fi
if getent group $TURNSERVER_GROUP >/dev/null; then
groupdel $TURNSERVER_GROUP
fi
rm -f /var/lib/turn/turndb
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0