mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Update install
This commit is contained in:
parent
d903267166
commit
f8096d8c25
1 changed files with 3 additions and 3 deletions
|
@ -232,9 +232,9 @@ systemctl start "$app-web.service" "$app-sidekiq.service" "$app-streaming.servic
|
||||||
(
|
(
|
||||||
cd "$final_path/live"
|
cd "$final_path/live"
|
||||||
su mastodon <<SETADMIN
|
su mastodon <<SETADMIN
|
||||||
( RAILS_ENV=production bin/tootctl accounts create '$admin_mastodon' --email='$admin_mastodon_mail' > acc.txt )
|
( env PATH=$PATH RAILS_ENV=production bin/tootctl accounts create '$admin_mastodon' --email='$admin_mastodon_mail' > acc.txt )
|
||||||
RAILS_ENV=production bin/tootctl accounts modify $admin_mastodon --confirm
|
env PATH=$PATH RAILS_ENV=production bin/tootctl accounts modify $admin_mastodon --confirm
|
||||||
RAILS_ENV=production bin/tootctl accounts modify $admin_mastodon --role admin
|
env PATH=$PATH RAILS_ENV=production bin/tootctl accounts modify $admin_mastodon --role admin
|
||||||
SETADMIN
|
SETADMIN
|
||||||
)
|
)
|
||||||
admin_pass=$( cd $final_path/live && tail -1 acc.txt | head -1 | cut -c 15- )
|
admin_pass=$( cd $final_path/live && tail -1 acc.txt | head -1 | cut -c 15- )
|
||||||
|
|
Loading…
Reference in a new issue