From 6715e57c11ab6b9d608de350cf16189b3af2af09 Mon Sep 17 00:00:00 2001 From: Fabian Wilkens Date: Sun, 9 May 2021 14:52:03 +0200 Subject: [PATCH] Fix ruby installation --- conf/systemd.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 7334e8e..1480dc7 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,9 +9,9 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__/live -Environment=RAILS_ENV=production +Environment="RAILS_ENV=production" Environment="PORT=__PORT__" -ExecStart=__RBENV_ROOT__/versions/__APP__/bin/bundle exec rails server +ExecStart=__RBENV_INSTALL_DIR__/versions/__APP__/bin/bundle exec rails server ExecReload=/bin/kill -SIGUSR1 $MAINPID StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=append:/var/log/__APP__/__APP__.log