From 9691d954dc29f8d3468b8de87d934d5954320871 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 24 Feb 2021 07:11:45 +0100 Subject: RBENV_ROOT --- conf/mastodon-web.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/mastodon-web.service') diff --git a/conf/mastodon-web.service b/conf/mastodon-web.service index 33e3feb..e853df5 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=/opt/rbenv/versions/__APP__/bin/bundle exec puma -C config/puma.rb +ExecStart=__RBENV_ROOT__/versions/__APP__/bin/bundle exec puma -C config/puma.rb ExecReload=/bin/kill -SIGUSR1 $MAINPID TimeoutSec=15 Restart=always -- cgit v1.2.3-70-g09d2