Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Fix missing cachetool_args (#192)
Browse files Browse the repository at this point in the history
* Cannot use --web option

The cachetool has a --web option. However, this cannot be used because --fcgi= is always prefixed in front of the options.

Adding cachetool_args allows you to customise all arguments.

* Set default value
  • Loading branch information
trsteel88 authored and antonmedv committed Sep 12, 2018
1 parent 6c8df09 commit 587d4ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipe/cachetool.php
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
namespace Deployer;

set('cachetool', '');
set('cachetool_args', '');
set('bin/cachetool', function(){
return run("{{bin/php}} -r \"echo version_compare(phpversion(), '7.1') == -1 ? 'cachetool-3.2.1.phar' : 'cachetool.phar';\"");
});

0 comments on commit 587d4ab

Please sign in to comment.