Commit 01d7d4e8 authored by jkaberg's avatar jkaberg

restart using php5-fpm

parent 21d59862
...@@ -28,22 +28,22 @@ if [ ! -f "/usr/local/lib/owncloud/config/config.php" ]; then ...@@ -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 ...@@ -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
\ No newline at end of file \ No newline at end of file
...@@ -61,4 +61,4 @@ chown www-data:www-data /var/lib/z-push ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment