A
A
Alexander Wolf2015-04-16 04:22:11
linux
Alexander Wolf, 2015-04-16 04:22:11

Why might foreman upstart not work?

Hey! Why might foreamn upstart not work? Those. everything is exported and even when you type sudo start myapp it says that everything is running. However, no logs are written and the port remains free. However, if I go into the project directory and execute foreman start , the server starts up successfully.
There is a .env file in the directory with the content RAILS_ENV=production I
use Unicorn, Capistrano 3, Foreman.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Wolf, 2015-04-24
@mannaro

Decided to do without this gem. I am using capistrano-unicorn.

A
ascrazy, 2015-04-23
@ascrazy

You need to look why the service does not start in the upstart logs - /var/log/upstart/myapp.log

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question