diff options
| author | yalh76 <yalh@yahoo.com> | 2020-05-19 19:24:47 +0200 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2020-05-19 19:24:47 +0200 |
| commit | bf0fef631f39616ed455cc9face32cacdda16172 (patch) | |
| tree | 455d8f3a07c2325b3cab4906adda67615512cfd9 /scripts/install | |
| parent | 5f421f48d7fb69b8c8adafad48b93bbb621c6dce (diff) | |
| download | mastodon_ynh-bf0fef631f39616ed455cc9face32cacdda16172.tar.gz mastodon_ynh-bf0fef631f39616ed455cc9face32cacdda16172.tar.bz2 mastodon_ynh-bf0fef631f39616ed455cc9face32cacdda16172.zip | |
remove not needed retrieving admin generated password
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/install b/scripts/install index 32cb94e..8b36e56 100644 --- a/scripts/install +++ b/scripts/install @@ -206,13 +206,10 @@ pushd "$final_path/live" RAILS_ENV=production bundle exec rails db:setup --quiet RAILS_ENV=production bundle exec rails assets:precompile --quiet RAILS_ENV=production bundle exec rake mastodon:webpush:generate_vapid_key > key.txt - RAILS_ENV=production bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=admin > acc.txt + RAILS_ENV=production bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=admin > /dev/null RAILS_ENV=production bin/tootctl accounts modify "$admin" --approve popd -admin_pass=$( tail -1 $final_path/live/acc.txt | head -1 | cut -c 15- ) -ynh_secure_remove --file="$final_path/live/acc.txt" - vapid_private_key=$(grep -oP "VAPID_PRIVATE_KEY=\K.+" "$final_path/live/key.txt") vapid_public_key=$(grep -oP "VAPID_PUBLIC_KEY=\K.+" "$final_path/live/key.txt") |
