Rename the webmails directory

This commit is contained in:
kaiyou
2017-11-04 18:48:22 +01:00
parent edbea372e9
commit f22194d78b
9 changed files with 0 additions and 0 deletions

14
webmails/rainloop/start.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
# There is no cleaner way to setup the default SMTP/IMAP server or to
# override the configuration
rm -f /data/_data_/_default_/domains/*
mkdir -p /data/_data_/_default_/domains/ /data/_data_/_default_/configs/
cp /default.ini /data/_data_/_default_/domains/
cp /config.ini /data/_data_/_default_/configs/
# Fix some permissions
chown -R www-data:www-data /data
# Run apache
exec apache2-foreground