about summary refs log tree commit diff
path: root/dist/mastodon-web.service
diff options
context:
space:
mode:
Diffstat (limited to 'dist/mastodon-web.service')
-rw-r--r--dist/mastodon-web.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/dist/mastodon-web.service b/dist/mastodon-web.service
index c106a4860..f41efd2b0 100644
--- a/dist/mastodon-web.service
+++ b/dist/mastodon-web.service
@@ -8,6 +8,7 @@ User=mastodon
 WorkingDirectory=/home/mastodon/live
 Environment="RAILS_ENV=production"
 Environment="PORT=3000"
+Environment="LD_PRELOAD=libjemalloc.so"
 ExecStart=/home/mastodon/.rbenv/shims/bundle exec puma -C config/puma.rb
 ExecReload=/bin/kill -SIGUSR1 $MAINPID
 TimeoutSec=15