changed to use configuration files

This commit is contained in:
andreas
2023-04-02 20:36:59 +00:00
parent 878e544e87
commit 694aab86f3
8 changed files with 17 additions and 26 deletions

View File

@@ -1,10 +1,5 @@
#!/usr/bin/env bash
set -e
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 "$@"