1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snserver_ynh.git synced 2024-09-03 20:26:22 +02:00

Fix ruby installation

This commit is contained in:
Fabian Wilkens 2021-05-09 14:52:03 +02:00
parent d7858ef0db
commit 6715e57c11
No known key found for this signature in database
GPG key ID: 23DFA025BB4E9FAB

View file

@ -9,9 +9,9 @@ Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=__FINALPATH__/live WorkingDirectory=__FINALPATH__/live
Environment=RAILS_ENV=production Environment="RAILS_ENV=production"
Environment="PORT=__PORT__" 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 ExecReload=/bin/kill -SIGUSR1 $MAINPID
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=append:/var/log/__APP__/__APP__.log StandardError=append:/var/log/__APP__/__APP__.log