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-web.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'conf/mastodon-web.service') diff --git a/conf/mastodon-web.service b/conf/mastodon-web.service index edf41f7..5d22974 100644 --- a/conf/mastodon-web.service +++ b/conf/mastodon-web.service @@ -9,7 +9,8 @@ WorkingDirectory=__FINALPATH__/live Environment="__LD_PRELOAD__" Environment="RAILS_ENV=production" Environment="PORT=__PORT_WEB__" -ExecStart=__RBENV_ROOT__/versions/__APP__/bin/bundle exec puma -C config/puma.rb +Environment="__YNH_RUBY_LOAD_PATH__" +ExecStart=__FINALPATH__/live/bin/bundle exec puma -C config/puma.rb ExecReload=/bin/kill -SIGUSR1 $MAINPID TimeoutSec=15 Restart=always -- cgit v1.2.3-70-g09d2