Allow users to cancel a running crunch job by updating cancelled_at
[arvados.git] / services / api / config / environments / test.rb.example
index bb07cfbe903bb4f63a46bdc1dbd2ab0ee9298fe1..e34bebc7b83192c80995aa378fca37c9d18d7423 100644 (file)
@@ -45,6 +45,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_test'
+
   # config.dnsmasq_conf_dir = '/etc/dnsmasq.d'
 
   # config.compute_node_ami = 'ami-cbca41a2'