From 01d7d4e8600270fa472e92ce3b11cc8ceaa45bc8 Mon Sep 17 00:00:00 2001 From: jkaberg Date: Tue, 12 Aug 2014 01:15:17 +0200 Subject: [PATCH] restart using php5-fpm --- setup/owncloud.sh | 34 +++++++++++++++++----------------- setup/zpush.sh | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/setup/owncloud.sh b/setup/owncloud.sh index 29d1c085..07d0a944 100644 --- a/setup/owncloud.sh +++ b/setup/owncloud.sh @@ -28,22 +28,22 @@ if [ ! -f "/usr/local/lib/owncloud/config/config.php" ]; then cat - > /usr/local/lib/owncloud/config/config.php < '$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 \ No newline at end of file +restart_service php5-fpm \ No newline at end of file diff --git a/setup/zpush.sh b/setup/zpush.sh index 964c1492..bcb01c5c 100755 --- a/setup/zpush.sh +++ b/setup/zpush.sh @@ -61,4 +61,4 @@ chown www-data:www-data /var/lib/z-push # Restart service. -restart_service php-fastcgi +restart_service php5-fpm