Fix encryption key length in install script (#9239)
Update encryption key generation for Domain Monitor installation.
This commit is contained in:
parent
1f1a41e5c7
commit
97a5b21394
@ -33,7 +33,7 @@ MARIADB_DB_NAME="domain_monitor" MARIADB_DB_USER="domainmonitor" setup_mariadb_d
|
|||||||
fetch_and_deploy_gh_release "domain-monitor" "Hosteroid/domain-monitor" "prebuild" "latest" "/opt/domain-monitor" "domain-monitor-v*.zip"
|
fetch_and_deploy_gh_release "domain-monitor" "Hosteroid/domain-monitor" "prebuild" "latest" "/opt/domain-monitor" "domain-monitor-v*.zip"
|
||||||
|
|
||||||
msg_info "Setting up Domain Monitor"
|
msg_info "Setting up Domain Monitor"
|
||||||
ENC_KEY=$(openssl rand -base64 48 | tr -dc 'A-Za-z0-9' | head -c 32)
|
ENC_KEY=$(openssl rand -base64 32 | tr -d '\n')
|
||||||
cd /opt/domain-monitor
|
cd /opt/domain-monitor
|
||||||
$STD composer install
|
$STD composer install
|
||||||
cp env.example.txt .env
|
cp env.example.txt .env
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user