aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-web.service
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2022-06-04 17:35:46 +0200
committerGitHub <noreply@github.com>2022-06-04 17:35:46 +0200
commit124b0c903b16f8e29714859d39c2b0e0de5568b5 (patch)
tree2e81fda9adc272bc98722b35092e8a748f2c96a1 /conf/mastodon-web.service
parentacdc124f76fb9724cb22acb18c45cf0c3c2e62b5 (diff)
parent67b98816286a65bcdf7252b5590e9486a73655f5 (diff)
downloadmastodon_ynh-124b0c903b16f8e29714859d39c2b0e0de5568b5.tar.gz
mastodon_ynh-124b0c903b16f8e29714859d39c2b0e0de5568b5.tar.bz2
mastodon_ynh-124b0c903b16f8e29714859d39c2b0e0de5568b5.zip
Merge pull request #331 from YunoHost-Apps/testing
Apply last example_ynh
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