# Deprecated; see fsch.rake namespace :air do task :start_fcshd do puts "Starting FCSHD..." PatternPark::FCSHD.start_from_rake(ENV) end task :fcshd => :start_fcshd # Alias task :stop_fcshd do begin fcsh = PatternPark::FCSH.new_from_rake(ENV) fcsh.stop rescue puts "Could not stop FCSHD" end end task :restart_fcshd => [ :stop_fcshd, :sleep, :start_fcshd ] task :sleep do sleep 2 end end