diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-11 16:06:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-11 16:06:16 +0200 |
| commit | 1fc09ad97ebb8221662f3526e015d67b52920796 (patch) | |
| tree | 7f3381eb26275d4abc2c6d45034895089bace96e /scripts | |
| parent | 6d62b24181b9d2964f441b211490ccf7c29e3b67 (diff) | |
| download | mastodon_ynh-1fc09ad97ebb8221662f3526e015d67b52920796.tar.gz mastodon_ynh-1fc09ad97ebb8221662f3526e015d67b52920796.tar.bz2 mastodon_ynh-1fc09ad97ebb8221662f3526e015d67b52920796.zip | |
Re-run mastodon install at the end
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/install | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install index c1da21f..903416f 100644 --- a/scripts/install +++ b/scripts/install @@ -159,8 +159,17 @@ pushd ~/live # RAILS_ENV=production bin/bundle exec rails mastodon:confirm_email USER_EMAIL=$admin_mastodon@$domain ACOMMANDS +# Re-Install Mastodon WHY ??? +sudo su - $app <<MCOMMANDS +pushd ~/live +/opt/mastodon/.rbenv/versions/2.4.1/bin/gem install bundler +bin/bundle install --deployment --without development test +yarn install +MCOMMANDS + # Add Services -pushd /var/cache/yunohost/from_file/mastodon_ynh-master/scripts +#pushd /var/cache/yunohost/from_file/mastodon_ynh-master/scripts +popd sudo cp ../conf/mastodon-web.service /etc/systemd/system/mastodon-web.service sudo chown root: /etc/systemd/system/mastodon-web.service |
