mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Re-run mastodon install at the end
This commit is contained in:
parent
6d62b24181
commit
1fc09ad97e
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue