From ad7007b3464dd9c00da8bf2d6bd566d08dd96db6 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 29 May 2022 15:54:35 +0200 Subject: Apply last example_yn --- conf/mastodon-sidekiq.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'conf/mastodon-sidekiq.service') diff --git a/conf/mastodon-sidekiq.service b/conf/mastodon-sidekiq.service index 24554c1..40591c0 100644 --- a/conf/mastodon-sidekiq.service +++ b/conf/mastodon-sidekiq.service @@ -10,7 +10,8 @@ Environment="__LD_PRELOAD__" Environment="RAILS_ENV=production" Environment="DB_POOL=25" Environment="MALLOC_ARENA_MAX=2" -ExecStart=__RBENV_ROOT__/versions/__APP__/bin/bundle exec sidekiq -c 25 +Environment="__YNH_RUBY_LOAD_PATH__" +ExecStart=__FINALPATH__/live/bin/bundle exec sidekiq -c 25 TimeoutSec=15 Restart=always StandardError=syslog -- cgit v1.2.3-70-g09d2