From 8ba36f17390b09acccccbdd261d4fc43ed31f7c7 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Fri, 25 Jul 2014 16:52:59 +0100 Subject: Generate purge-varnish pid & log to default location Deployment system should handle linking the original location to wherever necessary on the specific platform. --- config/purge-varnish-debian.ugly | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 config/purge-varnish-debian.ugly diff --git a/config/purge-varnish-debian.ugly b/config/purge-varnish-debian.ugly old mode 100644 new mode 100755 index ebd4d9e5c..a2418b8eb --- 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 -- cgit v1.2.3