This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# List of spam accounts | |
spam_accounts = %w(spamacc@podA spamacc@podB spamacc@mypod) | |
# Delete comments even if spammer isn't a local user or spam isn't on a | |
# local users account. | |
# And delete posts of users in spam_accounts that aren't local. | |
always_delete = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is not a complete Nginx configuration! It only shows the relevant parts for integrating Diaspora. | |
# [...] | |
http { | |
# Your standard server configuration goes here | |
# [...] | |
gzip_static on; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PID_DIR = '/srv/myapp/shared/pids' | |
RAILS_ENV = ENV['RAILS_ENV'] = 'production' | |
RAILS_ROOT = ENV['RAILS_ROOT'] = '/srv/myapp/current' | |
BIN_PATH = "/home/rails/.rvm/gems/ree-1.8.7-2010.02/bin" | |
God.log_file = "#{RAILS_ROOT}/log/god.log" | |
God.log_level = :info | |
%w(unicorn resque).each do |config| | |
God.load "#{RAILS_ROOT}/config/god/#{config}.god" |