add environment variable for server
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Johannes Heuel
2022-12-20 18:15:56 +01:00
parent 126145ede7
commit 461cdb2cc7
4 changed files with 19 additions and 10 deletions

8
backends/htcondor/run.sh Normal file → Executable file
View File

@@ -1,9 +1,9 @@
#!/usr/bin/bash
# apparently this vodoo kills all processes opened in this script
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
# trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
# ssh -N -L 8080:localhost:8080 lxplus7103 &
# sleep 10
ssh -N -L 8080:localhost:8080 lxplus7103 &
/home/home4/institut_1b/jheuel/repositories/zoidberg/target/release/zoidberg_client
sleep 10
/afs/cern.ch/work/j/jheuel/zoidberg/target/debug/zoidberg_client http://localhost:8080

View File

@@ -6,9 +6,10 @@ error = output/stderr.$(Process)
log = output/log.$(Process)
request_cpus = 1
#request_memory = 1024
request_memory = 4096
#request_disk = 10240
getenv = True
should_transfer_files = no
queue 150
queue 20