Skip to content

Add cachetool reset task#12

Draft
yannlugrin wants to merge 1 commit into
masterfrom
feature/cachetools
Draft

Add cachetool reset task#12
yannlugrin wants to merge 1 commit into
masterfrom
feature/cachetools

Conversation

@yannlugrin

Copy link
Copy Markdown
Member

No description provided.

task :reset do
on release_roles(fetch(:cachetool_roles)) do
within fetch(:cachetool_working_dir) do
execute :cachetool, "opcache:reset --web --web-path=#{release_path}/web --web-url=#{fetch(:cachetool_reset_web_url)}", raise_on_non_zero_exit: false

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lately, I used --web=SymfonyHttpClient --web-basic-auth=user:secretpassword to clear the cache of website protected by Basic HTTP Auth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants