tweak daemontools scripts
authorTom Clegg <tom@clinicalfuture.com>
Thu, 20 Jun 2013 15:56:42 +0000 (11:56 -0400)
committerTom Clegg <tom@clinicalfuture.com>
Thu, 20 Jun 2013 15:56:42 +0000 (11:56 -0400)
doc/install/install-crunch-dispatch.textile

index 31ff50929d7f24bf794538fb682162e96480463d..28e7ffef52d275ce87dafbf37d21a522f2843bd5 100644 (file)
@@ -30,7 +30,7 @@ set -e
 while sleep 60
 do
   cd /path/to/arvados/services/api
-  setuidgid www-data env RAILS_ENV=production bundle exec ./script/import_commits.rb
+  setuidgid www-data env RAILS_ENV=production bundle exec ./script/import_commits.rb 2>&1
 done
 </pre>
 
@@ -70,5 +70,5 @@ export ARVADOS_API_HOST=xyzzy.arvadosapi.com
 # export ARVADOS_API_HOST_INSECURE=yes
 
 cd /path/to/arvados/services/api
-RAILS_ENV=production bundle exec ./script/crunch-dispatch.rb
+RAILS_ENV=production bundle exec ./script/crunch-dispatch.rb 2>&1
 </pre>