aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-02-24 06:35:45 +0100
committeryalh76 <yalh@yahoo.com>2021-02-24 06:35:45 +0100
commitb2af9c3f5ec4be1fbd10a9f14e7889aefec6b081 (patch)
treedf1b1df880b30c48023600352d7509b0a91a76cd /conf
parent88969d7b7ad4e3581599f748ea3b61dfc51c19a5 (diff)
downloadmastodon_ynh-b2af9c3f5ec4be1fbd10a9f14e7889aefec6b081.tar.gz
mastodon_ynh-b2af9c3f5ec4be1fbd10a9f14e7889aefec6b081.tar.bz2
mastodon_ynh-b2af9c3f5ec4be1fbd10a9f14e7889aefec6b081.zip
Fix ynh_install_ruby
Diffstat (limited to 'conf')
-rw-r--r--conf/mastodon-sidekiq.service2
-rw-r--r--conf/mastodon-web.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/mastodon-sidekiq.service b/conf/mastodon-sidekiq.service
index 7031e63..f0948a6 100644
--- a/conf/mastodon-sidekiq.service
+++ b/conf/mastodon-sidekiq.service
@@ -9,7 +9,7 @@ WorkingDirectory=__FINALPATH__/live
Environment="RAILS_ENV=production"
Environment="DB_POOL=25"
Environment="MALLOC_ARENA_MAX=2"
-ExecStart=__RBENV_ROOT__/shims/bundle exec sidekiq -c 25
+ExecStart=/opt/rbenv/versions/__APP__/bin/bundle exec sidekiq -c 25
TimeoutSec=15
Restart=always
StandardError=syslog
diff --git a/conf/mastodon-web.service b/conf/mastodon-web.service
index 1f5b6be..33e3feb 100644
--- a/conf/mastodon-web.service
+++ b/conf/mastodon-web.service
@@ -8,7 +8,7 @@ User=__APP__
WorkingDirectory=__FINALPATH__/live
Environment="RAILS_ENV=production"
Environment="PORT=__PORT_WEB__"
-ExecStart=__RBENV_ROOT__/shims/bundle exec puma -C config/puma.rb
+ExecStart=/opt/rbenv/versions/__APP__/bin/bundle exec puma -C config/puma.rb
ExecReload=/bin/kill -SIGUSR1 $MAINPID
TimeoutSec=15
Restart=always