This commit is contained in:
William Mantly 2021-03-22 22:42:43 -04:00
parent 4778ddfe4c
commit 530ad35244
Signed by: wmantly
GPG Key ID: 186A8370EFF937CA

View File

@ -58,6 +58,7 @@ apt install curl git -y
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
apt update
apt-get install -y nodejs git
sso_conf_template="$(cat files/sso-manager.conf.template)"
mkdir /var/www
cd /var/www
@ -67,7 +68,6 @@ git clone https://github.com/theta42/sso-manager-node.git
cd sso-manager-node/nodejs
npm install
sso_conf_template="$(cat files/sso-manager.conf.template)"
echo "$sso_conf_template" | mo > "conf/secrets.js"
wget -q https://raw.githubusercontent.com/theta42/sso-manager-node/master/ops/systemd/sso-manager.service -O /etc/systemd/system/sso-manger.service