Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Got rid of old bin files

  • Loading branch information...
commit 452fa1e7d2a2db98be79dd4f8a6cea80e881d835 1 parent 263cbb0
@hcatlin authored
View
40 bin/cluster
@@ -1,40 +0,0 @@
-#!/bin/bash
-### BEGIN INIT INFO
-# Provides: thin
-# Required-Start: $local_fs $remote_fs
-# Required-Stop: $local_fs $remote_fs
-# Default-Start: 2 3 4 5
-# Default-Stop: S 0 1 6
-# Short-Description: cluster initscript
-# Description: cluster
-### END INIT INFO
-
-# Original author: Forrest Robertson
-# Modified by: Hampton Catlin
-
-# Do NOT "set -e"
-
-DAEMON=/srv/mobile/current/bin/unstoppable_thin
-SCRIPT_NAME=/srv/mobile/current/bin/cluster
-CONFIG_PATH=/srv/mobile/current/config/thins
-
-# Exit if the package is not installed
-[ -x "$DAEMON" ] || exit 0
-
-case "$1" in
- start)
- ruby $DAEMON start --all $CONFIG_PATH
- ;;
- stop)
- pkill -9 thin
- ;;
- restart)
- ruby $DAEMON restart --onebyone --all $CONFIG_PATH
- ;;
- *)
- echo "Usage: $SCRIPT_NAME {start|stop|restart}" >&2
- exit 3
- ;;
-esac
-
-:
View
4 bin/dev_server
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+bundle install
+bundle exec merb -a thin
View
8 bin/rotate
@@ -1,8 +0,0 @@
-#!/bin/bash
-FILES="/srv/mobile/shared/pids/*.pid"
-for f in $FILES
-do
- echo "Processing $f file..."
- # take action on each file. $f store current file name
- kill -USR1 `cat $f`
-done
View
11 bin/server
@@ -1,11 +0,0 @@
-#!/usr/bin/env ruby
-# Thin command line interface script.
-# Run <tt>thin -h</tt> to get more usage.
-
-trap("USR1") do
- puts "Trapped USR1"
-end
-require 'rubygems'
-require 'thin'
-require File.expand_path(File.join(File.dirname(__FILE__), "../lib/thin_connection"))
-Thin::Runner.new(ARGV).run!
View
11 bin/unstoppable_thin
@@ -1,11 +0,0 @@
-# Thin command line interface script.
-# Run <tt>thin -h</tt> to get more usage.
-
-require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.9.1/environment"))
-require 'thin'
-
-trap("USR1") do
- puts "Trapped USR1"
-end
-
-Thin::Runner.new(ARGV).run!
Please sign in to comment.
Something went wrong with that request. Please try again.