diff options
| author | yalh76 <yalh@yahoo.com> | 2021-03-01 00:37:33 +0100 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2021-03-01 00:37:33 +0100 |
| commit | 384ebfa72c31d44b72063ef449297589a126bfc9 (patch) | |
| tree | d98cfd398fa2595cb8e42da01b8f4c4cb4e54325 /scripts/install | |
| parent | f6eb84a96e20920caf6393636eeb1757d0666fbe (diff) | |
| download | mastodon_ynh-384ebfa72c31d44b72063ef449297589a126bfc9.tar.gz mastodon_ynh-384ebfa72c31d44b72063ef449297589a126bfc9.tar.bz2 mastodon_ynh-384ebfa72c31d44b72063ef449297589a126bfc9.zip | |
fix missing __VAPID_PRIVATE_KEY__
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install b/scripts/install index 7d72758..dc8b1ff 100644 --- a/scripts/install +++ b/scripts/install @@ -163,11 +163,11 @@ ynh_app_setting_set --app="$app" --key=secret_key_base --value="$secret_key_base otp_secret=$(ynh_string_random --length=128) ynh_app_setting_set --app="$app" --key=otp_secret --value="$otp_secret" -ynh_add_config --template="../conf/.env.production.sample" --destination="$config" - vapid_private_key="" vapid_public_key="" +ynh_add_config --template="../conf/.env.production.sample" --destination="$config" + ynh_replace_string --match_string="registrations_mode: 'open'" --replace_string="registrations_mode: 'none'" --target_file="$final_path/live/config/settings.yml" ynh_replace_string --match_string="min_invite_role: 'admin'" --replace_string="min_invite_role: 'none'" --target_file="$final_path/live/config/settings.yml" |
