# File lib/picnic/service_control.rb, line 230
    def status
      case get_state
      when :ok
        puts "#{app} appears to be up and running."
        exit 0
      when :missing_pid
        $stderr.puts "#{app} does not appear to be running (pid file not found)."
        exit 3
      when :empty_pid
        $stderr.puts "#{app} does not appear to be running (pid file exists but is empty)."
      when :not_running
        $stderr.puts "#{app} is not running."
        exit 1
      when :dead
        $stderr.puts "#{app} is dead or unresponsive."
        exit 102
      end
    end