diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-07-25 16:52:59 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-07-25 16:52:59 +0100 |
commit | 8ba36f17390b09acccccbdd261d4fc43ed31f7c7 (patch) | |
tree | 1a4766d444332d5e847a6179bcfd50cb49d85b00 | |
parent | 95f1cf2807f8acf8ae854022132c5e65622ac05f (diff) |
Generate purge-varnish pid & log to default location
Deployment system should handle linking the original location to
wherever necessary on the specific platform.
-rwxr-xr-x[-rw-r--r--] | config/purge-varnish-debian.ugly | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/purge-varnish-debian.ugly b/config/purge-varnish-debian.ugly index ebd4d9e5c..a2418b8eb 100644..100755 --- a/config/purge-varnish-debian.ugly +++ b/config/purge-varnish-debian.ugly @@ -13,10 +13,10 @@ # !!(*= $daemon_name *)!! Start the Alaveteli email purge-varnish daemon NAME=!!(*= $daemon_name *)!! -DAEMON=!!(*= $vhost_dir *)!!/alaveteli/script/runner +DAEMON=!!(*= $vhost_dir *)!!/!!(*= $vcspath *)!!/script/runner DAEMON_ARGS="--daemon PurgeRequest.purge_all_loop" -PIDFILE=!!(*= $vhost_dir *)!!/purge-varnish.pid -LOGFILE=!!(*= $vhost_dir *)!!/alaveteli/log/purge-varnish.log +PIDFILE=!!(*= $vhost_dir *)!!/!!(*= $vcspath *)!!/tmp/pids/purge-varnish.pid +LOGFILE=!!(*= $vhost_dir *)!!/!!(*= $vcspath *)!!/log/purge-varnish.log DUSER=!!(*= $user *)!! # Set RAILS_ENV - not needed if using config/rails_env.rb # RAILS_ENV=your_rails_env |