Mastodon: Difference between revisions

Line 61: Line 61:
** unless you love Romanian botnets all up in your shit
** unless you love Romanian botnets all up in your shit
* <tt>systemctl start elasticsearch</tt>
* <tt>systemctl start elasticsearch</tt>
** You ought now have a <tt>java</tt> process listening on tcp/9200 ''shudder''
* Add the following to <tt>.env.production</tt>:
* Add the following to <tt>.env.production</tt>:
<pre>
<pre>
Line 69: Line 70:
* Restart <tt>mastodon-sidekiq</tt> and <tt>mastodon-web</tt> units
* Restart <tt>mastodon-sidekiq</tt> and <tt>mastodon-web</tt> units
* <tt>RAILS_ENV=production bin/tootctl search deploy</tt>
* <tt>RAILS_ENV=production bin/tootctl search deploy</tt>
* <tt>sudo systemctl enable elasticsearch</tt> for persistence