mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 14:42:01 -03:30
ncp-restore: Make sure to clear opcache before executing ncc commands
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
parent
39c915dc67
commit
e8352bd10e
@ -106,8 +106,9 @@ fi
|
||||
|
||||
cd "$NCDIR"
|
||||
|
||||
### INCLUDEDATA=yes situation
|
||||
clear_opcache
|
||||
|
||||
### INCLUDEDATA=yes situation
|
||||
NUMFILES=2
|
||||
if [[ $( ls "$TMPDIR" | wc -l ) -eq $NUMFILES ]]; then
|
||||
|
||||
|
||||
@ -31,6 +31,6 @@ opcache.max_accelerated_files=10000
|
||||
opcache.memory_consumption=128
|
||||
opcache.save_comments=1
|
||||
opcache.revalidate_freq=1
|
||||
opcache.file_cache=${TMP_DIR};
|
||||
opcache.jit=function;
|
||||
opcache.file_cache=${TMP_DIR}
|
||||
opcache.jit=function
|
||||
EOF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user