1
0
Fork 0
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:
nemsia 2017-04-11 16:06:16 +02:00 committed by GitHub
parent 6d62b24181
commit 1fc09ad97e

View file

@ -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