simonoff/golden_brindle

Restart not working

Closed this issue · 1 comments

Whenever I issue the golden_brindle restart -C /etc/brindles/brindle.yml or /etc/init.d/golden_brindle restart command the following is written to the unicorn.log file

executing ["/var/lib/gems/1.8/bin/golden_brindle", "start", "-C", "brindle.yml", "-d"](in /mnt/application)
forked child re-executing...
!!! Config file not there: brindle.yml
brindle::start reported an error. Use goldent_brindle brindle::start -h to get help.
reaped #<Process::Status: pid=10062,exited(1)> exec()-ed

My config file looks like:


address: 0.0.0.0
timeout: "30"
log_file: log/unicorn.log
port: 8080
cwd: /root/app/
bundler: false
debug: false
daemon: true
environment: demo
listen: 0.0.0.0:8000
preload: true
servers: 1
pid_file: tmp/pids/unicorn.pid
workers: "4"

The start and stop commands are working great, but the restart is failing.

Thanks
Ben

Sorry, the comment system stripped out some characters from the log. The first line actually reads:

executing ["/var/lib/gems/1.8/bin/golden_brindle", "start", "-C", "brindle.yml", "-d"] (in /mnt/application)