|
@@ -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 \
|