find_applications (Daemons::ApplicationGroup)

    # File lib/daemons/application_group.rb, line 60
        def find_applications(dir)
          pid_files = PidFile.find_files(dir, app_name)

          #pp pid_files

          @monitor = Monitor.find(dir, app_name + '_monitor')

          pid_files.reject! {|f| f =~ /_monitor.pid$/}

          return pid_files.map {|f|
            app = Application.new(self, {}, PidFile.existing(f))
            setup_app(app)
            app
          }
        end