aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-web.service
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-05-19 01:20:45 +0200
committeryalh76 <yalh@yahoo.com>2020-05-19 01:20:45 +0200
commit736d7908b4f31095e7a7b92fc632b0f6fad05e83 (patch)
tree45d83101fca09da035e1ea32a6fb95e85254ebcf /conf/mastodon-web.service
parent36ff48ac1d930f235217d5758f6bd33bac039cc5 (diff)
downloadmastodon_ynh-736d7908b4f31095e7a7b92fc632b0f6fad05e83.tar.gz
mastodon_ynh-736d7908b4f31095e7a7b92fc632b0f6fad05e83.tar.bz2
mastodon_ynh-736d7908b4f31095e7a7b92fc632b0f6fad05e83.zip
RUBY_VERSION factorisation
Diffstat (limited to 'conf/mastodon-web.service')
-rw-r--r--conf/mastodon-web.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/mastodon-web.service b/conf/mastodon-web.service
index bb65afe..14d1260 100644
--- a/conf/mastodon-web.service
+++ b/conf/mastodon-web.service
@@ -8,7 +8,7 @@
WorkingDirectory=__FINALPATH__/live
Environment="RAILS_ENV=production"
Environment="PORT=__PORT_WEB__"
- ExecStart=/opt/rbenv/versions/2.6.5/bin/bundle exec puma -C config/puma.rb
+ ExecStart=__RBENVROOT__/shims/bundle exec puma -C config/puma.rb
ExecReload=/bin/kill -SIGUSR1 $MAINPID
TimeoutSec=15
Restart=always