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
thin-1.8.2 lib/thin/controllers/service.sh.erb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/2.6.0/gems/thin-1.8.1/lib/thin/controllers/service.sh.erb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/3.1.0/gems/thin-1.8.1/lib/thin/controllers/service.sh.erb
thin-1.8.1 lib/thin/controllers/service.sh.erb
thin-1.8.0 lib/thin/controllers/service.sh.erb
gross-1.7.2 lib/thin/controllers/service.sh.erb
thin-1.7.2 lib/thin/controllers/service.sh.erb
thin-1.7.1 lib/thin/controllers/service.sh.erb
arcabouco-0.2.13 vendor/bundle/gems/thin-1.7.0/lib/thin/controllers/service.sh.erb
thin-1.7.0 lib/thin/controllers/service.sh.erb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/thin-1.6.4/lib/thin/controllers/service.sh.erb
classiccms-0.7.5 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.7.4 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
classiccms-0.7.3 vendor/bundle/gems/thin-1.3.1/lib/thin/controllers/service.sh.erb
thin-1.6.4 lib/thin/controllers/service.sh.erb
thin-1.6.3 lib/thin/controllers/service.sh.erb
grockit-thin-0.8.2 lib/thin/controllers/service.sh.erb
macournoyer-thin-1.0.1 lib/thin/controllers/service.sh.erb
macournoyer-thin-1.1.0 lib/thin/controllers/service.sh.erb
michaelyta-thin-1.2.2 lib/thin/controllers/service.sh.erb