aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-sidekiq.service
diff options
context:
space:
mode:
Diffstat (limited to 'conf/mastodon-sidekiq.service')
-rw-r--r--conf/mastodon-sidekiq.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/mastodon-sidekiq.service b/conf/mastodon-sidekiq.service
index ad5a6a0..1ad6590 100644
--- a/conf/mastodon-sidekiq.service
+++ b/conf/mastodon-sidekiq.service
@@ -9,8 +9,8 @@ WorkingDirectory=__INSTALL_DIR__/live
Environment="RAILS_ENV=production"
Environment="DB_POOL=25"
Environment="MALLOC_ARENA_MAX=2"
-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 sidekiq -c 25
TimeoutSec=15
Restart=always