Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (15 sloc) 471 Bytes
require File.join(File.dirname(__FILE__), 'environment')
require 'optparse'
require 'cinchize'
# Required to parse the cinchize.yml file properly
YAML::ENGINE.yamler = 'syck'
Options = {
:ontop => true,
:system => false,
:local_config => File.join(Dir.pwd, 'cinchize.yml'),
:system_config => '/etc/cinchize.yml',
:action => :start,
options = Options.dup
daemon = *Cinchize.config(options, ARGV.first)
daemon.send options[:action]
You can’t perform that action at this time.