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