-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #38: Opcache handler clear cleanup.
- Loading branch information
1 parent
86adc9d
commit bc222de
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
--- | ||
- name: clear opcache | ||
command: "{{ drush_path }} eval \"if (function_exists('apc_clear_cache')) {apc_clear_cache();}if (function_exists('opcache_reset')) {opcache_reset();}\"" | ||
command: > | ||
{{ drush_path }} eval | ||
"if (function_exists('apc_clear_cache')) { | ||
apc_clear_cache(); | ||
} | ||
if (function_exists('opcache_reset')) { | ||
opcache_reset(); | ||
}" | ||
args: | ||
chdir: "{{ drupal_core_path }}" |