forked from AnimaGUS-minerva/fountain
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstartj6rc
More file actions
executable file
·23 lines (15 loc) · 857 Bytes
/
startj6rc
File metadata and controls
executable file
·23 lines (15 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# /usr/local/rvm/rubies/ruby-2.4.1/bin/ruby
# -E LD_DEBUG=all
export DTLS=true
export SERVCERT=db/cert/jrc_prime256v1.crt
export SERVKEY=db/cert/jrc_prime256v1.key
export CIPHER_LIST='ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES128-CCM8'
#strace -o /tmp/nn1 -E LD_PRELOAD=/sandel/3rd/openssl/lib/libcrypto.so.1.1:/sandel/3rd/openssl/lib/libssl.so.1.1 ./ruby bin/rails server david -b ::2 -p 5684
RAILS_ENV=${RAILS_ENV-production}
export RAILS_ENV
tail -f log/${RAILS_ENV}.log &
TAIL_PID=$!
trap "kill $TAIL_PID; exit 0" 1 2 3 15
LD_PRELOAD=/sandel/3rd/openssl-dtls-api/lib/libcrypto.so.1.1:/sandel/3rd/openssl-dtls-api/lib/libssl.so.1.1 bin/rails server david -b :: -p 5684 $*
#LD_PRELOAD=/sandel/3rd/openssl-dtls-api/lib/libcrypto.so.1.1:/sandel/3rd/openssl-dtls-api/lib/libssl.so.1.1 bundle exec ruby bin/rails server david -b :: -p 5684