source: subversion/sites/rails_port/lib/daemons/session_cleanup_ctl @ 3206

Last change on this file since 3206 was 3206, checked in by tomhughes, 13 years ago

Make as executable.

  • Property svn:executable set to *
File size: 363 bytes
Line 
1#!/usr/bin/env ruby
2require 'rubygems'
3require "daemons"
4require 'yaml'
5require 'erb'
6require 'active_support'
7
8options = YAML.load(
9  ERB.new(
10  IO.read(
11  File.dirname(__FILE__) + "/../../config/daemons.yml"
12  )).result).with_indifferent_access
13options[:dir_mode] = options[:dir_mode].to_sym
14
15Daemons.run File.dirname(__FILE__) + '/session_cleanup.rb', options
Note: See TracBrowser for help on using the repository browser.