Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Foreman is creating the init scripts with the previous release #185

Closed
caarlos0 opened this issue Apr 29, 2014 · 3 comments
Closed

Foreman is creating the init scripts with the previous release #185

caarlos0 opened this issue Apr 29, 2014 · 3 comments

Comments

@caarlos0
Copy link

I was expecting some weird issues in my application, so I decided to dive in the foreman generated startup scripts, and found this:

cat /etc/init/app-web-1.conf

start on starting app-web
stop on stopping app-web
respawn

exec su - deploy -c 'cd /var/www/wealcash.com/releases/20; export TONS_OF=VARIABLES;  bundle exec puma -C ./config/puma.rb config.ru -e production >> /var/www/app.com/shared/log/web-1.log 2>&1'

cat /etc/init/app-worker-1.conf

start on starting app-worker
stop on stopping app-worker
respawn

exec su - deploy -c 'cd /var/www/wealcash.com/releases/20; export TONS_OF=VARIABLES;  bundle exec sidekiq -C config/sidekiq.yml -e production >> /var/www/app/shared/log/worker-1.log 2>&1'

It looks fine, except that the current release is 21.

I am also expecting some really weird behavior, like if foreman never stops putting more services up.. looks like some infinite loop somewhere.

Any advice on that?
I followed the docs about the foreman module.

Cheers

@caarlos0
Copy link
Author

caarlos0 commented May 4, 2014

Hey, any updates on this?

@seifsallam
Copy link

I'm having this issue too

@d4be4st
Copy link
Member

d4be4st commented Jul 8, 2016

@d4be4st d4be4st closed this as completed Jul 8, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants