Sha256: 8baf84688504cffb9e0b5aa0aa1b7cc2d216adb46a881968942db97248ea0125

Contents?: true

Size: 735 Bytes

Versions: 116

Compression:

Stored size: 735 Bytes

Contents

#!/bin/sh
### 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: thin initscript
# Description:       thin
### END INIT INFO

# Original author: Forrest Robertson

# Do NOT "set -e"

DAEMON=<%= Command.script %>
SCRIPT_NAME=<%= INITD_PATH %>
CONFIG_PATH=<%= config_files_path %>

# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0

case "$1" in
  start)
	$DAEMON start --all $CONFIG_PATH
	;;
  stop)
	$DAEMON stop --all $CONFIG_PATH
	;;
  restart)
	$DAEMON restart --all $CONFIG_PATH
	;;
  *)
	echo "Usage: $SCRIPT_NAME {start|stop|restart}" >&2
	exit 3
	;;
esac

:

Version data entries

116 entries across 115 versions & 12 rubygems

Version Path
classiccms-0.5.16 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.15 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.14 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.13 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
friendlyfashion-thin-1.4.1 lib/thin/controllers/service.sh.erb
classiccms-0.5.12 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.11 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.10 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.9 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.8 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.7 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.6 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.5 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.2 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.1 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.5.0 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.4.2 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.4.1 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.4.0 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.3.9 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb