aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-web.service
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2022-05-29 15:54:35 +0200
committeryalh76 <yalh@yahoo.com>2022-05-29 15:54:35 +0200
commitad7007b3464dd9c00da8bf2d6bd566d08dd96db6 (patch)
treed733c07e0cee76345c973e0c5f8d0e214b18ec6e /conf/mastodon-web.service
parent4c87683b08ad2f391f24a2f364aaae6609ec4ac3 (diff)
downloadmastodon_ynh-ad7007b3464dd9c00da8bf2d6bd566d08dd96db6.tar.gz
mastodon_ynh-ad7007b3464dd9c00da8bf2d6bd566d08dd96db6.tar.bz2
mastodon_ynh-ad7007b3464dd9c00da8bf2d6bd566d08dd96db6.zip
Apply last example_yn
Diffstat (limited to 'conf/mastodon-web.service')
-rw-r--r--conf/mastodon-web.service3
1 files changed, 2 insertions, 1 deletions
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