Sha256: f2dd6cbad02659104ecd5f5f452df7d33310cdf41b1e79328cfde6f01194b27b
Contents?: true
Size: 833 Bytes
Versions: 4
Compression:
Stored size: 833 Bytes
Contents
#! /bin/sh ### BEGIN INIT INFO # Provides: zena # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: launch <%= init_script %> ### END INIT INFO # Author: Gaspard Bucher <gaspard@teti.ch> # # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin DESC="Zena server" case "$1" in start) # launch all services for <%= config[:db_name] %> <%= init_script %> start ;; stop) # stop all services for <%= config[:db_name] %> <%= init_script %> stop ;; restart) # restart all services for <%= config[:db_name] %> <%= init_script %> restart ;; *) echo "Usage: $SCRIPTNAME {start|stop|restart}" >&2 exit 3 ;; esac
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
zena-1.1.3 | lib/zena/deploy/start_stop.rhtml |
zena-1.1.2 | lib/zena/deploy/start_stop.rhtml |
zena-1.1.1 | lib/zena/deploy/start_stop.rhtml |
zena-1.1.0 | lib/zena/deploy/start_stop.rhtml |