1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-26 02:57:04 +00:00

moved TODO

This commit is contained in:
jkaberg 2014-08-12 11:02:13 +02:00
parent 9d41530232
commit 7ba79effae

View File

@ -61,6 +61,7 @@ mkdir -p $STORAGE_ROOT/owncloud
chown -R www-data.www-data $STORAGE_ROOT/owncloud /usr/local/lib/owncloud chown -R www-data.www-data $STORAGE_ROOT/owncloud /usr/local/lib/owncloud
# Download and install the mail app # Download and install the mail app
# TODO: enable mail app in ownCloud config, not exposed afaik?
if [ ! -d /usr/local/lib/owncloud/apps/mail ]; then if [ ! -d /usr/local/lib/owncloud/apps/mail ]; then
rm -f /tmp/owncloud_mail.zip rm -f /tmp/owncloud_mail.zip
wget -qO /tmp/owncloud_mail.zip https://github.com/owncloud/mail/archive/master.zip wget -qO /tmp/owncloud_mail.zip https://github.com/owncloud/mail/archive/master.zip
@ -78,7 +79,5 @@ chmod -R 777 /usr/local/lib/owncloud/apps/mail/vendor/ezyang/htmlpurifier/librar
# TODO: somehow change the cron option in ownClouds config, not exposed afaik? # TODO: somehow change the cron option in ownClouds config, not exposed afaik?
(crontab -u www-user -l; echo "*/15 * * * * php -f /usr/local/lib/owncloud/cron.php" ) | crontab -u www-user - (crontab -u www-user -l; echo "*/15 * * * * php -f /usr/local/lib/owncloud/cron.php" ) | crontab -u www-user -
# TODO: enable mail app in ownCloud config, not exposed afaik?
php5enmod imap php5enmod imap
restart_service php5-fpm restart_service php5-fpm