Allow users to cancel a running crunch job by updating cancelled_at
[arvados.git] / services / api / config / environments / production.rb.example
index 9147f4f7da9ec74411a1e7028d09cbe6099caf97..eadb2047022bcf22f051c97c16e997491d6682a6 100644 (file)
@@ -65,6 +65,10 @@ Server::Application.configure do
   config.crunch_job_wrapper = :slurm_immediate
   config.crunch_job_user = 'crunch' # if false, do not set uid when running jobs
 
+  # The web service must be able to create this file, and
+  # crunch_dispatch.rb must be able to unlink it.
+  config.crunch_dispatch_hup_trigger = '/tmp/crunch_dispatch_hup_trigger'
+
   # config.dnsmasq_conf_dir = '/etc/dnsmasq.d'
 
   # config.compute_node_ami = 'ami-cbca41a2'