mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
Fix multi instance installation
This commit is contained in:
parent
65eee0d6f3
commit
c4a8e6d01b
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ systemctl reload nginx
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Create admin..." --weight=1
|
ynh_script_progression --message="Create admin..." --weight=1
|
||||||
pushd $final_path/diaspora
|
pushd $final_path/diaspora
|
||||||
sudo -u diaspora /bin/bash --login << EOF
|
sudo -u $app /bin/bash --login << EOF
|
||||||
RAILS_ENV=production bundle exec rails console << END
|
RAILS_ENV=production bundle exec rails console << END
|
||||||
user = User.build({username: '$admin', email: '$admin_email', password: '$admin_password', password_confirmation: '$admin_password' })
|
user = User.build({username: '$admin', email: '$admin_email', password: '$admin_password', password_confirmation: '$admin_password' })
|
||||||
user.seed_aspects
|
user.seed_aspects
|
||||||
|
|
Loading…
Reference in a new issue