Check if apc is disabled during ownCloud setup, if so enable it (#983)
This commit is contained in:
parent
155bcfc654
commit
2b00478b8b
1 changed files with 6 additions and 0 deletions
|
@ -281,6 +281,12 @@ tools/editconf.py /etc/php5/fpm/php.ini -c ';' \
|
||||||
max_execution_time=600 \
|
max_execution_time=600 \
|
||||||
short_open_tag=On
|
short_open_tag=On
|
||||||
|
|
||||||
|
# If apc is explicitly disabled we need to enable it
|
||||||
|
if grep -q apc.enabled=0 /etc/php5/mods-available/apcu.ini; then
|
||||||
|
tools/editconf.py /etc/php5/mods-available/apcu.ini -c ';' \
|
||||||
|
apc.enabled=1
|
||||||
|
fi
|
||||||
|
|
||||||
# Set up a cron job for owncloud.
|
# Set up a cron job for owncloud.
|
||||||
cat > /etc/cron.hourly/mailinabox-owncloud << EOF;
|
cat > /etc/cron.hourly/mailinabox-owncloud << EOF;
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
Loading…
Reference in a new issue