aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-web.service
diff options
context:
space:
mode:
Diffstat (limited to 'conf/mastodon-web.service')
-rw-r--r--conf/mastodon-web.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/mastodon-web.service b/conf/mastodon-web.service
index 4804b16..5b3da39 100644
--- a/conf/mastodon-web.service
+++ b/conf/mastodon-web.service
@@ -8,8 +8,8 @@ User=__APP__
WorkingDirectory=__INSTALL_DIR__/live
Environment="RAILS_ENV=production"
Environment="PORT=__PORT_WEB__"
-Environment="__LD_PRELOAD__"
-Environment="__YNH_RUBY_LOAD_PATH__"
+Environment="LD_PRELOAD=libjemalloc.so"
+Environment="PATH=__PATH_WITH_RUBY__"
ExecStart=__INSTALL_DIR__/live/bin/bundle exec puma -C config/puma.rb
ExecReload=/bin/kill -SIGUSR1 $MAINPID
TimeoutSec=15