Skip to content
Snippets Groups Projects
Commit 807445f1 authored by Bob Mottram's avatar Bob Mottram
Browse files

debug

parent 5b930553
No related branches found
No related tags found
No related merge requests found
......@@ -202,9 +202,11 @@ function logging_off_xmpp {
prosody_chat_domain="chat.${DEFAULT_DOMAIN_NAME}"
# shellcheck disable=SC2001
prosody_chat_domain_str=$(echo "$prosody_chat_domain" | sed 's|\.|%2e|g')
echo "*** /var/lib/prosody/${prosody_chat_domain_str}/muc_log"
if [ -d "/var/lib/prosody/${prosody_chat_domain_str}/muc_log" ]; then
rm -rf "/var/lib/prosody/${prosody_chat_domain_str}/muc_log"*
echo "rm -rf /var/lib/prosody/${prosody_chat_domain_str}/muc_log*"
# shellcheck disable=SC2086
rm -rf /var/lib/prosody/${prosody_chat_domain_str}/muc_log*
ls -lh "/var/lib/prosody/${prosody_chat_domain_str}"
logging_restart_prosody=1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment