restart using php5-fpm
This commit is contained in:
parent
21d59862de
commit
01d7d4e860
2 changed files with 18 additions and 18 deletions
|
@ -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
|
|
@ -61,4 +61,4 @@ chown www-data:www-data /var/lib/z-push
|
|||
|
||||
# Restart service.
|
||||
|
||||
restart_service php-fastcgi
|
||||
restart_service php5-fpm
|
||||
|
|
Loading…
Reference in a new issue