mirror of
https://github.com/ACINQ/eclair.git
synced 2025-03-04 09:58:02 +01:00
We now use a regular release zip, and use it in the awseb bundle. The default logback configuration now logs to a file, like `eclair-node`, and we use a dedicated logback configuration for AWS beanstalk. By default the front reads the node secret key from the node seed in the standard `.eclair` directory.
11 lines
437 B
Bash
11 lines
437 B
Bash
export LOCAL_IP=$(curl -s 169.254.169.254/latest/meta-data/local-ipv4)
|
|
export HOSTNAME=$(hostname)
|
|
|
|
# make the eclair home directory
|
|
mkdir -p /home/webapp/.eclair
|
|
|
|
# if provided, copy the certificate to the proper directory
|
|
[[ -e akka-cluster-tls.jks ]] && cp -v akka-cluster-tls.jks /home/webapp/.eclair/
|
|
|
|
unzip -o eclair-front-*-bin.zip
|
|
exec ./eclair-front-*/bin/eclair-front.sh -with-kanela -Dlogback.configurationFile=logback_eb.xml
|