Remove directory
This commit is contained in:
parent
5c7ac4e375
commit
b309419a2d
|
@ -304,6 +304,9 @@ function remove_xmpp {
|
|||
if [ -d /var/lib/prosody ]; then
|
||||
rm -rf /var/lib/prosody
|
||||
fi
|
||||
if [ -d /usr/lib/prosody ]; then
|
||||
rm -rf /usr/lib/prosody
|
||||
fi
|
||||
groupdel prosody
|
||||
|
||||
remove_completion_param install_xmpp
|
||||
|
@ -633,7 +636,7 @@ function install_xmpp_main {
|
|||
|
||||
cp /etc/ssl/certs/xmpp.* /etc/prosody/certs
|
||||
cp /etc/ssl/private/xmpp.* /etc/prosody/certs
|
||||
chown -R prosody:default /etc/prosody
|
||||
chown -R prosody /etc/prosody
|
||||
update_default_domain
|
||||
|
||||
xmpp_create_config
|
||||
|
|
Loading…
Reference in New Issue