mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 08:05:03 +00:00
The downstream installation script needs to be run via bash to support early failure modes using pipefail. Thanks to @koffeinfrei for reporting this and testing a fix. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
10 lines
295 B
Smarty
10 lines
295 B
Smarty
#! /bin/bash
|
|
|
|
mkdir -p /var/lib/faasd/secrets/
|
|
echo ${gw_password} > /var/lib/faasd/secrets/basic-auth-password
|
|
|
|
export FAASD_DOMAIN=${faasd_domain_name}
|
|
export LETSENCRYPT_EMAIL=${letsencrypt_email}
|
|
|
|
curl -sfL https://raw.githubusercontent.com/openfaas/faasd/master/hack/install.sh | bash -s -
|