aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-sidekiq.service
diff options
context:
space:
mode:
authorTagadda <36127788+Tagadda@users.noreply.github.com>2022-01-26 12:06:58 +0000
committerTagadda <36127788+Tagadda@users.noreply.github.com>2022-01-26 12:06:58 +0000
commit82cde79b1d4b30280ea6fea9102986c803da5003 (patch)
tree419564b62f0afe08d88a5528e825ba899c86ecfc /conf/mastodon-sidekiq.service
parent03cd9df2b604fc833f8213f44b49daac3a39763a (diff)
downloadmastodon_ynh-82cde79b1d4b30280ea6fea9102986c803da5003.tar.gz
mastodon_ynh-82cde79b1d4b30280ea6fea9102986c803da5003.tar.bz2
mastodon_ynh-82cde79b1d4b30280ea6fea9102986c803da5003.zip
don't reset Environment when LD_PRELOAD not set
Diffstat (limited to 'conf/mastodon-sidekiq.service')
-rw-r--r--conf/mastodon-sidekiq.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/mastodon-sidekiq.service b/conf/mastodon-sidekiq.service
index d561f07..47fe663 100644
--- a/conf/mastodon-sidekiq.service
+++ b/conf/mastodon-sidekiq.service
@@ -6,10 +6,10 @@ After=network.target
Type=simple
User=__APP__
WorkingDirectory=__FINALPATH__/live
+Environment="__LD_PRELOAD__"
Environment="RAILS_ENV=production"
Environment="DB_POOL=25"
Environment="MALLOC_ARENA_MAX=2"
-Environment="__LD_PRELOAD__"
ExecStart=__RBENV_ROOT__/versions/__APP__/bin/bundle exec sidekiq -c 25
TimeoutSec=15
Restart=always