Guest User

Untitled

a guest
Jul 19th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. unless RAILS_ENV == 'development'
  2. God.watch do |w|
  3. DEFAULT.call(w)
  4. w.name = "memcached"
  5. w.pid_file = "#{RAILS_ROOT}/tmp/pids/memcached.pid"
  6. w.start = "memcached -d -P #{w.pid_file}"
  7. end
  8. end
Add Comment
Please, Sign In to add comment