started mysql/server

This commit is contained in:
andreas
2023-04-02 11:16:26 +00:00
parent e017c4e457
commit 878e544e87
13 changed files with 178 additions and 95 deletions

View File

@@ -1,4 +1,10 @@
#!/usr/bin/env bash
set -e
# export APACHE_RUN_DIR=/var/www
sed -i \
-e's/#mysql_host = localhost/mysql_host = mysql/' \
-e's/#mysql_user = root/mysql_user = kopano/' \
-e's/#mysql_password =/mysql_password = Asdf2345/' \
/etc/kopano/server.cfg
# runas user kopano
chown kopano:kopano /var/lib/kopano/attachments
exec "$@"