1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-26 02:57:04 +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;
<?php
\$CONFIG = array (
\ 'datadirectory' => '$STORAGE_ROOT/owncloud',
\ array (
\ 0 =>
\ array (
\ 'class' => 'OC_User_IMAP',
\ 'arguments' =>
\ array (
\ 0 => '{localhost:993/imap/ssl/novalidate-cert}',
\ ),
\ ),
\ ),
\ "memcached_servers" => array (
\ array('localhost', 11211),
\ ),
\);
$CONFIG = array (
'datadirectory' => '$STORAGE_ROOT/owncloud',
array (
0 =>
array (
'class' => 'OC_User_IMAP',
'arguments' =>
array (
0 => '{localhost:993/imap/ssl/novalidate-cert}',
),
),
),
"memcached_servers" => array (
array('localhost', 11211),
),
);
?>
EOF
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?
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 php-fastcgi
restart_service php5-fpm