auto-manager #1
2
index.sh
2
index.sh
@ -58,6 +58,7 @@ apt install curl git -y
|
|||||||
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
|
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
|
||||||
apt update
|
apt update
|
||||||
apt-get install -y nodejs git
|
apt-get install -y nodejs git
|
||||||
|
sso_conf_template="$(cat files/sso-manager.conf.template)"
|
||||||
|
|
||||||
mkdir /var/www
|
mkdir /var/www
|
||||||
cd /var/www
|
cd /var/www
|
||||||
@ -67,7 +68,6 @@ git clone https://github.com/theta42/sso-manager-node.git
|
|||||||
cd sso-manager-node/nodejs
|
cd sso-manager-node/nodejs
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
sso_conf_template="$(cat files/sso-manager.conf.template)"
|
|
||||||
echo "$sso_conf_template" | mo > "conf/secrets.js"
|
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
|
wget -q https://raw.githubusercontent.com/theta42/sso-manager-node/master/ops/systemd/sso-manager.service -O /etc/systemd/system/sso-manger.service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user