summaryrefslogtreecommitdiff
path: root/net-im/prosody/files/pkg-deinstall.in
blob: c7187a9d3074c08be6c202942897b43b854f035f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
#
# $FreeBSD$
#

case $2 in
POST-DEINSTALL)
	echo "===> post-deinstallation information for $1:"
	echo ""
	echo "     Note:"
	echo "     Prosody related user accounts and groups were not removed."
	echo ""
	echo "     To remove the user and group which were created by "
	echo "     the installation of this package, run:"
	echo ""
	echo "     pw userdel -n %%USERS%%"
	echo "     pw groupdel -n %%GROUPS%%"
	echo ""
	echo "     and to remove all server data:"
	echo "     rm -rf /var/db/prosody"
	echo "     rm -rf /var/run/prosody"
	echo ""
	;;
esac
exit 0