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