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

restart using php5-fpm

This commit is contained in:
jkaberg 2014-08-12 01:15:17 +02:00
parent 21d59862de
commit 01d7d4e860
2 changed files with 18 additions and 18 deletions

View File

@ -28,22 +28,22 @@ if [ ! -f "/usr/local/lib/owncloud/config/config.php" ]; then
cat - > /usr/local/lib/owncloud/config/config.php <<EOF; cat - > /usr/local/lib/owncloud/config/config.php <<EOF;
<?php <?php
\$CONFIG = array ( $CONFIG = array (
\ 'datadirectory' => '$STORAGE_ROOT/owncloud', 'datadirectory' => '$STORAGE_ROOT/owncloud',
\ array ( array (
\ 0 => 0 =>
\ array ( array (
\ 'class' => 'OC_User_IMAP', 'class' => 'OC_User_IMAP',
\ 'arguments' => 'arguments' =>
\ array ( array (
\ 0 => '{localhost:993/imap/ssl/novalidate-cert}', 0 => '{localhost:993/imap/ssl/novalidate-cert}',
\ ), ),
\ ), ),
\ ), ),
\ "memcached_servers" => array ( "memcached_servers" => array (
\ array('localhost', 11211), array('localhost', 11211),
\ ), ),
\); );
?> ?>
EOF EOF
fi fi
@ -80,4 +80,4 @@ php /usr/local/lib/owncloud/apps/mail/composer.phar install --working-dir=/usr/l
# TODO: enable mail app in ownCloud config? # TODO: enable mail app in ownCloud config?
php5enmod imap php5enmod imap
restart_service php-fastcgi restart_service php5-fpm

View File

@ -61,4 +61,4 @@ chown www-data:www-data /var/lib/z-push
# Restart service. # Restart service.
restart_service php-fastcgi restart_service php5-fpm