Skip to content

Commit

Permalink
Merge pull request #28 from dprince/master
Browse files Browse the repository at this point in the history
Config updates for 3.0.
  • Loading branch information
Dan Prince committed Jan 16, 2012
2 parents 8a7b0e9 + 72cce3c commit 3d616b9
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* Mon Jan 16 2012 Dan Prince <[email protected]> - 3.0.0
- Upgrade to Rails 3.1.
- Add support for OpenStack API.
- Reservations.
Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# config.force_ssl = true

# See everything in the log (default is :info)
# config.log_level = :debug
config.log_level = :warn

# Use a different logger for distributed setups
# config.logger = SyslogLogger.new
Expand Down
3 changes: 0 additions & 3 deletions contrib/bin/cloud-servers-vpc-cleanup

This file was deleted.

1 change: 1 addition & 0 deletions contrib/cron/cleanup
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*/15 * * * * cloud_servers_vpc cd /opt/cloud_servers_vpc && RAILS_ENV=production PATH=/usr/local/bin/:$PATH ./script/rails runner ./contrib/runner_scripts/cleanup_servers.rb
1 change: 0 additions & 1 deletion contrib/cron/cloud-servers-vpc

This file was deleted.

1 change: 1 addition & 0 deletions contrib/cron/reservations
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*/5 * * * * cloud_servers_vpc cd /opt/cloud_servers_vpc && RAILS_ENV=production PATH=/usr/local/bin/:$PATH ./script/rails runner ./contrib/runner_scripts/sync_reservations.rb
2 changes: 1 addition & 1 deletion script/stop_workers
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
WORKER_PIDS=$(ps -e -o pid,command | grep [r]esque | cut -d " " -f 1 | xargs)
WORKER_PIDS=$(resque list | sed -e "s|.*:\([0-9]*\):.*|\1|g" | xargs)
kill -QUIT $WORKER_PIDS
ret=$?
if [ $ret -eq 0 ]; then
Expand Down

0 comments on commit 3d616b9

Please sign in to comment.