[Ejabberd] Various fixes, sorry (still WIP)

This commit is contained in:
andryyy
2021-02-11 21:09:46 +01:00
parent 462aa0a764
commit 38c5470d54
3 changed files with 11 additions and 2 deletions

View File

@@ -27,11 +27,16 @@ chown -R root:root /var/www/authentication
[ ! -f /sqlite/sqlite.db ] && cp /sqlite/sqlite_template.db /sqlite/sqlite.db
[ ! -d /ejabberd_ssl ] && mkdir /ejabberd_ssl
cp /ssl/cert.pem /ejabberd_ssl/cert.pem
cp /ssl/key.pem /ejabberd_ssl/key.pem
# Write access to upload directory and log file for authenticator
touch /var/www/authentication/auth.log
chown -R ejabberd:ejabberd /var/www/upload \
/var/www/authentication/auth.log \
/sqlite
/sqlite \
/ejabberd_ssl
# ACL file for vhosts, hosts file for vhosts
touch /ejabberd/ejabberd_acl.yml \